Skip to content

Files

Latest commit

 

History

History
13 lines (7 loc) · 407 Bytes

Universal.Arrays.DisallowShortArraySyntax.md

File metadata and controls

13 lines (7 loc) · 407 Bytes

Pattern: Use of short array syntax

Issue: -

Description

Disallows short array syntax.

In contrast to the PHPCS native Generic.Arrays.DisallowShortArraySyntax sniff, this sniff will ignore short list syntax and not cause parse errors when the fixer is used.

Further Reading