-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathphpstan.neon
More file actions
19 lines (18 loc) · 670 Bytes
/
phpstan.neon
File metadata and controls
19 lines (18 loc) · 670 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- phpstan-baseline.neon
parameters:
level: max
paths:
- %currentWorkingDirectory%/src/
parallel:
maximumNumberOfProcesses: 4
excludePaths:
- '**/gacela-class-names.php'
ignoreErrors:
- '#Method Gacela\\.*::.* should return class-string.*but returns string#'
- '#Method Gacela\\.*::.* should return array<.*> but returns array#'
- '#Cannot cast mixed to string.#'
- '#Short ternary operator is not allowed.#'
- '#Method .* should return list<.*> but returns array.#'