Skip to content

Commit 4d32e60

Browse files
committed
Update composer.json to modify PHPStan check command and upgrade PHPStan dependency to version 1.10 for improved static analysis capabilities.
1 parent 9abf985 commit 4d32e60

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"test": "vendor/bin/phpunit",
1818
"lint": "./vendor/bin/pint --test",
1919
"format": "./vendor/bin/pint",
20-
"check": "./vendor/bin/phpstan analyse --level 4 src tests",
20+
"check": "./vendor/bin/phpstan analyse",
2121
"import": "php import.php",
2222
"import:all": "php import.php all --commit=true",
2323
"import:disposable": "php import.php disposable --commit=true",
@@ -34,7 +34,7 @@
3434
"require-dev": {
3535
"phpunit/phpunit": "^9.3",
3636
"laravel/pint": "1.25.*",
37-
"phpstan/phpstan": "1.9.x-dev"
37+
"phpstan/phpstan": "^1.10"
3838
},
3939
"minimum-stability": "stable",
4040
"config": {

phpstan.neon

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
parameters:
2+
level: 4
3+
paths:
4+
- src
5+
- tests

0 commit comments

Comments
 (0)