forked from coenjacobs/mozart
-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathphpstan.neon
More file actions
29 lines (22 loc) · 878 Bytes
/
phpstan.neon
File metadata and controls
29 lines (22 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# phpstan analyse --memory-limit=-1 --level 8 --verbose
# phpstan analyse --memory-limit=-1 --level max --generate-baseline
includes:
- phpstan-baseline.neon
parameters:
level: 7
reportUnmatchedIgnoredErrors: false
paths:
- src
- bin/strauss
ignoreErrors:
-
message: '#Property.*excludePackages is unused#'
path: src/Composer/Extra/StraussConfig.php
- '#Cannot call method .* on Psr\\Log\\LoggerInterface\|null#'
- '#.*expects Psr\\Log\\LoggerInterface, Psr\\Log\\LoggerInterface\|null given#'
- # Allow type errors in test assertions to just throw.
message: '#Parameter .* of .*method PHPUnit\\Framework\\Assert::.* expects .* given.#'
path: tests
- # Allow skipping tests
identifier: deadCode.unreachable
path: tests