Skip to content

Commit

Permalink
feat: use latest code sniffer
Browse files Browse the repository at this point in the history
There's a [bug in its processing of constructor property promotion][1]
that is purportedly fixed in 3.6 (not released yet, so fallback to 3.x
dev head).

[1]:squizlabs/PHP_CodeSniffer#3182 (comment)
  • Loading branch information
Bishop Bettini committed Mar 31, 2021
1 parent 63e2cb4 commit 5e147d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"require-dev": {
"phpunit/phpunit": "^9",
"mockery/mockery": "^1",
"squizlabs/php_codesniffer": "^3",
"squizlabs/php_codesniffer": "^3.6 || 3.x-dev",
"phpmd/phpmd" : "^2"
},

Expand Down

0 comments on commit 5e147d2

Please sign in to comment.