-
-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathphpstan.neon
More file actions
28 lines (23 loc) 路 851 Bytes
/
Copy pathphpstan.neon
File metadata and controls
28 lines (23 loc) 路 851 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
parameters:
level: 8
paths:
- src
fileExtensions:
- php
- phtml
ignoreErrors:
- # runtime validation of HTTP header value coming from untrusted client input
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 1
path: src/Http/Request.php
- # $_FILES may be undefined under non-standard SAPIs (CLI, custom request setup in tests)
message: '#^Variable \$_FILES on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.variable
count: 1
path: src/Http/RequestFactory.php
- # defensive check kept for robustness against malformed $_FILES structures
message: "#^Offset 'name' on non\\-empty\\-array in isset\\(\\) always exists and is not nullable\\.$#"
identifier: isset.offset
count: 1
path: src/Http/RequestFactory.php