-
-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathphpstan.neon
More file actions
31 lines (24 loc) · 788 Bytes
/
phpstan.neon
File metadata and controls
31 lines (24 loc) · 788 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
30
31
parameters:
level: 8
paths:
- src
excludePaths:
- src/compatibility.php
ignoreErrors:
- # Intentional design pattern for derive() and factory methods
identifier: new.static
paths:
- src/Caching/Cache.php
- src/Bridges/CacheLatte/Nodes/CacheNode.php
- # Intentional by-reference parameter for dependency injection
identifier: argument.byRef
path: src/Caching/Cache.php
- # Runtime validation for untyped array input
identifier: function.alreadyNarrowedType
path: src/Caching/Cache.php
- # PHPStan cannot narrow callable to array shape after is_array() in closure
identifier: offsetAccess.nonOffsetAccessible
path: src/Caching/Cache.php
-
identifier: method.childParameterType
path: src/Bridges/Psr/PsrCacheAdapter.php