Skip to content

Commit 5765732

Browse files
committed
Install PHPSTAN via composer
1 parent aaa7771 commit 5765732

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"nunomaduro/phpinsights": "^v2.11.0",
3939
"bmitch/churn-php": "^1.7.1",
4040
"phpmetrics/phpmetrics": "^v2.8.2",
41-
"wapmorgan/php-deprecation-detector": "^2.0.33"
41+
"wapmorgan/php-deprecation-detector": "^2.0.33",
42+
"phpstan/phpstan": "^1.10"
4243
},
4344
"scripts": {
4445
"test": "./vendor/bin/phpunit",

phpstan.neon

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

0 commit comments

Comments
 (0)