Skip to content

Commit 858280c

Browse files
committed
php stan
1 parent be0ac42 commit 858280c

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

composer.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
},
2323
"require-dev": {
2424
"orchestra/testbench": "^6.0|^7.0",
25+
"phpstan/extension-installer": "^1.1",
26+
"phpstan/phpstan-deprecation-rules": "^1.0",
27+
"phpstan/phpstan-phpunit": "^1.0",
2528
"phpunit/phpunit": "^9.3",
2629
"spatie/laravel-ray": "^1.9",
2730
"vimeo/psalm": "^4.4"
@@ -43,7 +46,10 @@
4346
"test-coverage": "vendor/bin/phpunit --coverage-html coverage"
4447
},
4548
"config": {
46-
"sort-packages": true
49+
"sort-packages": true,
50+
"allow-plugins": {
51+
"phpstan/extension-installer": true
52+
}
4753
},
4854
"extra": {
4955
"laravel": {

phpstan-baseline.neon

Whitespace-only changes.

phpstan.neon.dist

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
includes:
2+
- phpstan-baseline.neon
3+
4+
parameters:
5+
level: 2
6+
paths:
7+
- src
8+
- config
9+
tmpDir: build/phpstan
10+
excludePaths:
11+
- ./vendor
12+
checkMissingIterableValueType: true

0 commit comments

Comments
 (0)