You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The whitespace around/between properties and constants that get reordered isn't always consistent. Happy to work on this myself when I have time next week.
The text was updated successfully, but these errors were encountered:
Sorry I should have been more specific—what's weird to me is that there isn't whitespace added after the public CONST. I would have expected either of these instead:
Right now, OneLineBetweenClassVisibilityChanges doesn't distinguish between const/properties, it only looks at visibility changes. I think we would need an additional linter/formatter for class attribute groups, something like OneLineBetweenClassAttributeGroups.
Pint's Laravel preset uses class_attributes_separation to add a blank line between most:
Anecdotally I'm noticing that this:
Is formatted to this:
The whitespace around/between properties and constants that get reordered isn't always consistent. Happy to work on this myself when I have time next week.
The text was updated successfully, but these errors were encountered: