Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty output for debug:autowiring #29442

Closed
javiereguiluz opened this issue Dec 3, 2018 · 2 comments
Closed

Empty output for debug:autowiring #29442

javiereguiluz opened this issue Dec 3, 2018 · 2 comments

Comments

@javiereguiluz
Copy link
Member

Symfony version(s) affected: 4.2

Description
If I run debug:autowiring in the Symfony Demo app (which uses Symfony 4.2) I only see an empty output instead of something like #28970.

Other users on Symfony's Slack confirmed the same behaviour.

@chalasr
Copy link
Member

chalasr commented Dec 3, 2018

Confirmed, the command outputs nothing because you don't have phpdocumentor/reflection-docblock installed, which should not be a requirement for using the command.
Looking at it.

@chalasr
Copy link
Member

chalasr commented Dec 3, 2018

See #29445

nicolas-grekas added a commit that referenced this issue Dec 3, 2018
…en reflection-docblock is not installed (chalasr)

This PR was merged into the 4.2 branch.

Discussion
----------

[FrameworkBundle] Fix empty output for debug:autowiring when reflection-docblock is not installed

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #29442
| License       | MIT
| Doc PR        | n/a

![screenshot 2018-12-03 at 19 25 07](https://user-images.githubusercontent.com/7502063/49393383-549f8a00-f731-11e8-822c-43959514c69d.png)

instead of no output at all when phpdocumentor/reflection-docblock is not installed

Commits
-------

bd0dbe4 Fix empty output for debug:autowiring when reflection-docblock is not available
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants