Skip to content

Commit 83f01a3

Browse files
committed
[PHPStan] Add phpstan.neon.dist
1 parent 89b585d commit 83f01a3

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"scripts": {
2424
"check": ["@analyze", "@test"],
2525
"test": "pest tests",
26-
"analyze": "phpstan analyse --level max src"
26+
"analyze": "phpstan analyse --level max"
2727
},
2828
"autoload": {
2929
"psr-4": {

phpstan.neon.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
includes:
2+
- vendor/phpstan/phpstan-phpunit/extension.neon
3+
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
4+
parameters:
5+
tmpDir: data
6+
level: max
7+
paths:
8+
- src

0 commit comments

Comments
 (0)