We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acbf473 commit 8084e5fCopy full SHA for 8084e5f
SymfonyCustom/ruleset.xml
@@ -80,4 +80,5 @@
80
</properties>
81
</rule>
82
<rule ref="Squiz.WhiteSpace.SemicolonSpacing"/>
83
+ <rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
84
</ruleset>
docs/standards.md
@@ -98,6 +98,12 @@ we do not respect this rule:
98
<rule ref="Squiz.PHP.ForbiddenFunctions"/>
99
```
100
101
+- Use short array syntax
102
+
103
+```
104
+<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
105
106
107
### Custom
108
- Some others checks are made about array (`=>` alignments and indentation)
109
0 commit comments