Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

hkdobrev
Copy link
Contributor

@hkdobrev hkdobrev commented Feb 21, 2018

Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #26259
License MIT
Doc PR N/A

@hkdobrev hkdobrev changed the title Move phpDocument to require section [PropertyInfo] Move phpDocument to require section Feb 21, 2018
@hkdobrev hkdobrev changed the title [PropertyInfo] Move phpDocument to require section [PropertyInfo] Move phpDocumentor to require section Feb 21, 2018
@hkdobrev
Copy link
Contributor Author

@jvasseur Hi! Thanks for taking a look at this! Would you mind adding a comment? I'm keen to see other solutions to #26259 (comment)

@jvasseur
Copy link
Contributor

I'm 👎 because this is not the solution to the problem, the propertyinfo component can work without any problems when reflection-docblock is not installed if you don't use the PhpDocExtractor.

#26265 is probably the best solution we have.

The cleanest solution would be to move the PhpDocExtractor to a separate package that has the dependency on reflection-docblock (if you want to use PHPDoc extraction you require it and you get all you need). But that's not a good solution in the long run: we have tons of classes in the same situation, and that result in a lot of packages to maintains (and a lot of packages to require when developing).

@fabpot
Copy link
Member

fabpot commented Feb 22, 2018

closing in favor of #26265

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants