diff --git a/src/Libero/ruleset.xml b/src/Libero/ruleset.xml index 4054181..d0f60ca 100644 --- a/src/Libero/ruleset.xml +++ b/src/Libero/ruleset.xml @@ -10,6 +10,7 @@ + @@ -43,6 +44,7 @@ + diff --git a/tests/cases/php/short-arrays b/tests/cases/php/short-arrays new file mode 100644 index 0000000..04d3fd5 --- /dev/null +++ b/tests/cases/php/short-arrays @@ -0,0 +1,31 @@ +---DESCRIPTION--- +Short arrays must be used +---CONTENTS--- + $corge, 'grault' => $plugh)) { +} + +---FIXED--- + $corge, 'grault' => $plugh]) { +} + +---