Skip to content

Commit 933c8e5

Browse files
committed
feat: phpstan level 5
1 parent 8bbef24 commit 933c8e5

File tree

5 files changed

+22
-15
lines changed

5 files changed

+22
-15
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ composer.lock
55
coverage
66
docs
77
phpunit.xml
8-
phpstan.neon
98
testbench.yaml
109
vendor
1110
node_modules

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
},
3939
"require-dev": {
4040
"guzzlehttp/guzzle": "^7.0",
41+
"larastan/larastan": "^2.9",
4142
"laravel/pint": "^1.0",
4243
"nunomaduro/collision": "^7.9",
43-
"nunomaduro/larastan": "^2.0.1",
4444
"orchestra/testbench": "^8.0",
4545
"pestphp/pest": "^2.0",
4646
"pestphp/pest-plugin-arch": "^2.0",
@@ -62,6 +62,11 @@
6262
}
6363
},
6464
"scripts": {
65+
"qa" : [
66+
"@composer format",
67+
"@composer analyse",
68+
"@composer test"
69+
],
6570
"post-autoload-dump": "@php ./vendor/bin/testbench package:discover --ansi",
6671
"analyse": "vendor/bin/phpstan analyse",
6772
"test": "vendor/bin/pest",

phpstan-baseline.neon

Whitespace-only changes.

phpstan.neon

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
parameters:
2+
3+
paths:
4+
- src/
5+
- config/
6+
# - tests/
7+
8+
9+
# Level 9 is the highest level
10+
level: 5
11+
12+
# ignoreErrors:
13+
# - '#PHPDoc tag @var#'
14+
#
15+
# excludePaths:
16+
# - ./*/*/FileToBeExcluded.php

phpstan.neon.dist

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)