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
gsherwood
changed the title
DisallowMultipleStatements exception for open/close tags works inconsistently
Generic.Formatting.DisallowMultipleStatements errors when mutliple short echo tags are used on the same line
Sep 12, 2016
In #423 you made an exception to Generic.Formatting.DisallowMultipleStatements for multiple php open/close tags in the same line.
This works inconsistently. The following are all okay:
But this isn't:
I've added a failing test: https://github.com/nkovacs/PHP_CodeSniffer/tree/disallow-multiple-statements-bug
The text was updated successfully, but these errors were encountered: