mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 00:59:35 +00:00
phpcs: allow short array syntax (#2506)
Short array syntax was added to PHP in PHP 5.4 (2012) and replaces array() with []
This commit is contained in:
parent
a7e70926f9
commit
3638b5553a
@ -100,6 +100,4 @@
|
|||||||
<rule ref="Squiz.Strings.DoubleQuoteUsage">
|
<rule ref="Squiz.Strings.DoubleQuoteUsage">
|
||||||
<exclude name="Squiz.Strings.DoubleQuoteUsage.ContainsVar" />
|
<exclude name="Squiz.Strings.DoubleQuoteUsage.ContainsVar" />
|
||||||
</rule>
|
</rule>
|
||||||
<!-- Always use the long array syntax -->
|
|
||||||
<rule ref="Generic.Arrays.DisallowShortArraySyntax" />
|
|
||||||
</ruleset>
|
</ruleset>
|
||||||
|
Loading…
Reference in New Issue
Block a user