1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-31 13:50:23 +02: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:
dag
2022-03-18 09:58:47 +01:00
committed by GitHub
parent a7e70926f9
commit 3638b5553a

View File

@@ -100,6 +100,4 @@
<rule ref="Squiz.Strings.DoubleQuoteUsage">
<exclude name="Squiz.Strings.DoubleQuoteUsage.ContainsVar" />
</rule>
<!-- Always use the long array syntax -->
<rule ref="Generic.Arrays.DisallowShortArraySyntax" />
</ruleset>