mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-22 19:55:02 +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:
parent
a7e70926f9
commit
3638b5553a
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue