Skip to content

Commit 8cad2e1

Browse files
committed
Stan config
1 parent c09bcc7 commit 8cad2e1

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
/build
44
.php_cs_cache
55
.phpunit.result.cache
6+
.phpstan-cache

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"doctrine/coding-standard": "^9.0"
3232
},
3333
"scripts": {
34-
"phpstan": "phpstan analyse src/ -c phpstan.neon --level=7 --no-progress",
34+
"phpstan": "phpstan analyse --no-progress",
3535
"cs-check": "phpcs",
3636
"cs-fix": "phpcbf",
3737
"test": ["@cs-check", "@phpstan", "phpunit"]

phpstan.neon

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
includes:
2+
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
13
parameters:
2-
ignoreErrors:
3-
4-
#includes:
5-
# - vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon
4+
tmpDir: .phpstan-cache
5+
paths:
6+
- src
7+
level: max

0 commit comments

Comments
 (0)