-
-
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
ClassAttributesSeparationFixer - Add trait_import
support
#5827
ClassAttributesSeparationFixer - Add trait_import
support
#5827
Conversation
Thank you @SpacePossum. |
@@ -239,6 +240,7 @@ protected function createConfigurationDefinition() | |||
'const' => self::SPACING_ONE, | |||
'method' => self::SPACING_ONE, | |||
'property' => self::SPACING_ONE, | |||
'trait_import' => self::SPACING_ONE, |
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.
@keradus @SpacePossum isn't this BC break? Now, after update to 3.0.1 everyone get the trait imports changed?
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 see that the initial decision was it's bugfix and going to 2.19.x
and yeah, each bugfix will change things for folks, thus can be considered BC breaker
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.
Was it really a bugfix? I'ts not a problem to you or me as we know exactly what is going on in repo.
I'm thinking about people not familiar that well with the repo and seeing 3.0.1 patch version and wants the bugfixes.
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.
No, it was intended for the rule to function this way but was never made to do so. If PHP adds another type of class element definition in the future it will be added to the list as well.
closes #5490