Skip to content

Commit 47646d6

Browse files
committed
QA/CS: update PHPCSDevCS
The new `1.1.x` version already includes a check for short array syntax, so we can remove that from our own ruleset.
1 parent 5cb7f67 commit 47646d6

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"phpunit/phpunit" : "^4.5 || ^5.0 || ^6.0 || ^7.0",
3030
"php-parallel-lint/php-parallel-lint": "^1.0",
3131
"php-parallel-lint/php-console-highlighter": "^0.5",
32-
"phpcsstandards/phpcsdevcs": "^1.0"
32+
"phpcsstandards/phpcsdevcs": "^1.1.1"
3333
},
3434
"bin": [
3535
"bin/phpcs-check-feature-completeness"

phpcs.xml.dist

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@
4444
<!-- Set minimum PHP version supported to PHP 5.4. -->
4545
<config name="testVersion" value="5.4-"/>
4646

47-
<!-- Enforce short arrays. -->
48-
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
49-
5047

5148
<!--
5249
#############################################################################

0 commit comments

Comments
 (0)