Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[PropertyInfo] AddPhpStanExtractor#40457
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
aeb982f to2e08a5bCompareOskarStark commentedMar 13, 2021
I would propose to name it PHPStanExtractor |
dunglas commentedMar 14, 2021
@OskarStark IIRC the current name is more in sync with our coding conventions. |
OskarStark commentedMar 14, 2021
I know for sure, but this could be hard to read/understand because of the word "Php" and the word "Stan", additionally PHPStan is a proper name. IIRC we use sth like ORM instead of Orm, but not 100% sure. I am currently on a phone 📱 Anyway it was just a proposal and a personal opinion, otherwise I would go with PhpstanExtractor then .... |
chalasr commentedMar 14, 2021
We do :) I agree with Oscar here. |
derrabus commentedMar 14, 2021
How so we deal with other PHPSomething project names? The extractor for PHPDoc is named Oh well, naming things is hard. 😓 |
chalasr commentedMar 14, 2021
Fair enough :) consistency first. |
OskarStark commentedMar 15, 2021
Stay consistent, because of PhpUnit |
nicolas-grekas commentedMar 16, 2021
How does this compare to using |
Korbeil commentedMar 16, 2021
Actually,
I do support 2 of them. I'll try to take a look at |
32e2af3 to2884390CompareUh oh!
There was an error while loading.Please reload this page.
4f57313 to560cd06Compare4a5236f toaf62a30ComparePhpStanExtractorcdc9c56 to8bdb91fComparesrc/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/PropertyInfo/Extractor/PhpStanExtractor.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/PropertyInfo/Extractor/PhpStanExtractor.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/PropertyInfo/Extractor/PhpStanExtractor.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
8bdb91f to4651d61Compare
nicolas-grekas left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
(with minor cs comments)
4651d61 to68300c7Compare
fabpot left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM, I hope you're ready to maintain it as this is a large piece of code :)
Uh oh!
There was an error while loading.Please reload this page.
68300c7 to9931c37Comparefabpot commentedOct 30, 2021
Thank you@Korbeil. |
* doctrine/persistence todoctrine/persistence#286* symfony/property-info to getsymfony/symfony#40457
* doctrine/persistence todoctrine/persistence#286* symfony/property-info to getsymfony/symfony#40457
… (colinodell)This PR was merged into the 6.2 branch.Discussion----------[PropertyInfo] Fix PhpStanExtractor added version`PhpStanExtractor` was actually added in 5.4:symfony/symfony#40457 (comment)Commits-------d47d1fc Fix PhpStanExtractor added version
* doctrine/persistence todoctrine/persistence#286* symfony/property-info to getsymfony/symfony#40457
…ace` to `PhpStanExtractor` (mtarld)This PR was merged into the 7.3 branch.Discussion----------[PropertyInfo] Add `PropertyDescriptionExtractorInterface` to `PhpStanExtractor`| Q | A| ------------- | ---| Branch? | 7.2| Bug fix? | no| New feature? | yes| Deprecations? | no| Issues || License | MITAs mentioned in#40457, the `PhpStanExtractor` should at some point implement the `PropertyDescriptionExtractorInterface`.This PR adds that implementation.Commits-------bd80f29 [PropertyInfo] Add `PropertyDescriptionExtractorInterface` to `PhpStanExtractor`
Uh oh!
There was an error while loading.Please reload this page.
This PR will add a PhpStanExtractor that is based on
phpstan/phpdoc-parserlibrary.The PhpStan library allows us to manage union types in collection key values that we don't manage today.
Todo
phpstan/phpdoc-parseris present)Related PR:
serializer-packpackage.