On this page
Caution
The documentation you are viewing is for an older version of this component.
Switch to the latest (v3) version.
Ruleset
Use PSR-2 coding standard as a base
Rule: PSR2
Disallow long array syntax
Rule: Generic.Arrays.DisallowLongArraySyntax
Force whitespace after !
Rule: Generic.Formatting.SpaceAfterNot
Forbid spaces before semicolon ;
Rule: Squiz.WhiteSpace.SemicolonSpacing
Forbid superfluous whitespaces
Rule: Squiz.WhiteSpace.SuperfluousWhitespace, Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines