-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphpstan.neon
46 lines (45 loc) · 1.84 KB
/
phpstan.neon
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
parameters:
checkMissingIterableValueType: false
treatPhpDocTypesAsCertain: false
level: 8
paths:
- ./
excludePaths:
- %rootDir%/../../../vendor/*
- %rootDir%/../../../tests/*
ignoreErrors:
- '#Variable \$padMode might not be defined\.#'
# Defensive coding
-
message: '#Strict comparison using === between int<0, max>\|false and null will always evaluate to false\.#'
path: ./src/Zend/Text/MultiByte.php
-
message: '#Parameter \#3 \$length of function iconv_substr expects int(\|null)?, int\|false given\.#'
path: ./src/Zend/Text/MultiByte.php
-
message: '#Offset int<0, max> does not exist on array\|null\.#'
path: ./src/Zend/Text/Figlet.php
-
message: '#Strict comparison using === between mixed and . . will always evaluate to false\.#'
path: ./src/Zend/Text/Figlet.php
count: 2
-
message: '#Binary operation "&" between float\|int<0, 1>\|int<3, max>\|string\|null and 31 results in an error\.#'
path: ./src/Zend/Text/Figlet.php
count: 1
-
message: '#Property Zend_Text_Figlet::\$_rightToLeft \(int\) does not accept float\|int\|string\|null\.#'
path: ./src/Zend/Text/Figlet.php
count: 1
-
message: '#Unreachable statement - code above always terminates\.#'
path: ./src/Zend/Text/Table.php
count: 1
-
message: '#Call to sscanf contains 11 placeholders, 7 values given\.#'
path: ./src/Zend/Text/Figlet.php
count: 1
-
message: '#Binary operation "\*" between 2 and float\|int\|string\|null results in an error\.#'
path: ./src/Zend/Text/Figlet.php
count: 1