-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
phpstan.neon.dist
25 lines (25 loc) · 1.13 KB
/
phpstan.neon.dist
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
parameters:
level: 8
tmpDir: build/phpstan
resultCachePath: %currentWorkingDirectory%/build/phpstan/resultCache.php
paths:
- src
- tests
excludePaths:
- tests/Records/*
ignoreErrors:
- identifier: missingType.generics
# PHPStan whines about every match without a default, even if logically it's still complete.
- '#Match expression does not handle remaining value#'
# As far as I can tell, PHPStan is just buggy on explode(). It gives this error
# Even when it has been addressed and is impossible.
- '#Parameter \#1 \$delimiter of function Crell\\fp\\explode expects non-empty-string#'
-
message: '#type has no value type specified in iterable type array#'
path: tests/
-
message: '#type has no value type specified in iterable type iterable#'
path: tests/
# PHPStan is overly aggressive on readonly properties.
- '#Class (.*) has an uninitialized readonly property (.*). Assign it in the constructor.#'
- '#Readonly property (.*) is assigned outside of the constructor.#'