For legacy reasons (and to try and keep it working on ooold PHP versions), we don't want PHPVersionCheck.php to use [] arrays, we want array()
Description
Description
Details
Details
Subject | Repo | Branch | Lines /- | |
---|---|---|---|---|
PHPVersionCheck: Enable Generic.Arrays.DisallowShortArraySyntax | mediawiki/core | master | 9 -0 |
Event Timeline
Comment Actions
There is a sniff for this Generic.Arrays.DisallowShortArraySyntax.
Just need to enable/whatever
Comment Actions
Change 660058 had a related patch set uploaded (by Reedy; owner: Reedy):
[mediawiki/core@master] PHPVersionCheck: phpcs:enable Generic.Arrays.DisallowShortArraySyntax
Comment Actions
Change 660058 merged by jenkins-bot:
[mediawiki/core@master] PHPVersionCheck: Enable Generic.Arrays.DisallowShortArraySyntax