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
phpcs: WPForms.Formatting.Switch.AddEmptyLineBefore: You should add an empty line before
Ideally, WPForms.Formatting.Switch.AddEmptyLineBefore should understand/respect the situations, when it requires a new line before the switch, but this new line is occupied by a PHP comment (maybe not any comment - but the phpcs-related comment).
The text was updated successfully, but these errors were encountered:
Here is the example code:
Here is a sniff that I get:
Ideally,
WPForms.Formatting.Switch.AddEmptyLineBefore
should understand/respect the situations, when it requires a new line before theswitch
, but this new line is occupied by a PHP comment (maybe not any comment - but thephpcs
-related comment).The text was updated successfully, but these errors were encountered: