-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix: union PHPDoc support in fully_qualified_strict_types
fixer
#7719
fix: union PHPDoc support in fully_qualified_strict_types
fixer
#7719
Conversation
fully_qualified_strict_types
fixerfully_qualified_strict_types
fixer
b403669
to
81ffc39
Compare
81ffc39
to
c5e9d7e
Compare
e80ad64
to
94a2936
Compare
Kindly ping @Wirone, the current master/release is broken. |
Wasn't the previous release broken too when it comes to this fix? I am just unable to review everything, I am aware of every PR, but simply don't have that much time. |
IDK, I had to cherrypick this fix into some repos and I would be happy if it can be merged and released asap. |
And it will be merged and released ASAP, with an emphasis on P 😉. You really need to remember we have work, families and hobbies, can't spend all the time on Fixer 😅. |
9358b1f
to
b73b062
Compare
b73b062
to
6d2c124
Compare
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.
Without digging deeper into fixer's code, just by looking at tests.
There are currently too many issues for the rule on the project itself #17 PHP-CS-Fixer/PHP-CS-Fixer#7719 Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
The feedback has been addressed, let's merge this PR. It is a bugfix and people already complains about the issue. |
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.
I miss some more comments describing what's happening, but still good enough. However it would be good to add some info behind the logic 😉.
Let's resolve 2 minor discussions and we'll be ready.
Co-authored-by: Greg Korba <wirone@gmail.com>
\X\Y|null
PHPDoc was wrongly imported asuse X\Y|null;
now it is fixed and full simple union support is added (related with #7619)
also fix shortening, previously the shortest name could be not-shortest (but was still correct)landed in #7752also fix shortening, in namespaced files, relative names are not further imported, match this behaviour for non-namespaced files if any matching use is present for name