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
I've encountered an issue with the SpaceBetweenMethods pass in a PHP environment, particularly when used in conjunction with the following group of passes: StripNewlineAfterClassOpen, StripNewlineAfterCurlyOpen, and StripNewlineWithinClassBody. The SpaceBetweenMethods pass does not maintain the expected space around an empty constructor.
The issue seems to arise when these specific passes are used together. I believe that the SpaceBetweenMethods pass should override the other passes to ensure the correct spacing is maintained, especially around empty constructors. This issue is critical for maintaining readability and consistency in the codebase.
Looking forward to any insights or fixes for this problem. Thank you!
The text was updated successfully, but these errors were encountered:
I've encountered an issue with the
SpaceBetweenMethods
pass in a PHP environment, particularly when used in conjunction with the following group of passes:StripNewlineAfterClassOpen
,StripNewlineAfterCurlyOpen
, andStripNewlineWithinClassBody
. TheSpaceBetweenMethods
pass does not maintain the expected space around an empty constructor.Passes Used:
SpaceBetweenMethods
StripNewlineAfterClassOpen
StripNewlineAfterCurlyOpen
StripNewlineWithinClassBody
Current Behavior:
Expected Behavior:
The issue seems to arise when these specific passes are used together. I believe that the
SpaceBetweenMethods
pass should override the other passes to ensure the correct spacing is maintained, especially around empty constructors. This issue is critical for maintaining readability and consistency in the codebase.Looking forward to any insights or fixes for this problem. Thank you!
The text was updated successfully, but these errors were encountered: