Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #26 from elbgoods/bugfix/phpinsights-1-14
Browse files Browse the repository at this point in the history
upgrade to phpinsights v1.14 and readd StaticClosureSniff
  • Loading branch information
Gummibeer authored Mar 22, 2020
2 parents c623dab + 655cd2c commit c0a8b36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"illuminate/support": "^6.0 || ^7.0",
"jasonmccreary/laravel-test-assertions": "^0.3",
"nunomaduro/larastan": "^0.5.0",
"nunomaduro/phpinsights": "^1.12",
"nunomaduro/phpinsights": "^1.14",
"orchestra/testbench": "^4.0 || ^5.0",
"pdepend/pdepend": "@stable",
"phpmd/phpmd": "^2.8",
Expand Down
3 changes: 2 additions & 1 deletion configs/phpinsights.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
use SlevomatCodingStandard\Sniffs\Commenting\UselessFunctionDocCommentSniff;
use SlevomatCodingStandard\Sniffs\ControlStructures\DisallowEmptySniff;
use SlevomatCodingStandard\Sniffs\ControlStructures\DisallowShortTernaryOperatorSniff;
use SlevomatCodingStandard\Sniffs\Functions\StaticClosureSniff;
use SlevomatCodingStandard\Sniffs\Functions\UnusedParameterSniff;
use SlevomatCodingStandard\Sniffs\TypeHints\DeclareStrictTypesSniff;
use SlevomatCodingStandard\Sniffs\TypeHints\DisallowArrayTypeHintSyntaxSniff;
Expand Down Expand Up @@ -83,7 +84,7 @@
],

'add' => [

StaticClosureSniff::class,
],

'remove' => [
Expand Down

0 comments on commit c0a8b36

Please sign in to comment.