-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathphpstan.neon
More file actions
48 lines (45 loc) · 1.37 KB
/
phpstan.neon
File metadata and controls
48 lines (45 loc) · 1.37 KB
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
46
47
48
parameters:
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- '#no value type specified in iterable type array#'
- '#Cannot cast mixed to string#'
- '#Cannot cast mixed to int#'
- '#Cannot cast mixed to float#'
- '#Cannot cast array<string>\|false to string#'
-
message: "#expects Countable\\|iterable, array\\|bool given#"
paths:
- tests/UnitTestString.php
- tests/UnitTestRule.php
- tests/UnitTestInteger.php
-
message: "#Call to an undefined method object::addChild#"
path: src/Arrays.php
-
message: "#Cannot access offset 'textoError' on array\\|bool#"
path: tests/UnitTestRule.php
-
message: "#Call to an undefined method object::asXML#"
path: tests/UnitArrayTest.php
-
message: "#Strict comparison using === between callable-string and#"
path: src/DependencyInjection/Rules.php
-
message: "#invalidRule\\(\\) is unused#"
path: src/DependencyInjection/Rules.php
-
message: "#is always true#"
path: src/DependencyInjection/Rules.php
-
message: "#Result of \\|\\| is always true#"
path: src/Format.php
-
message: "#Strict comparison using === between 0#"
path: src/Format.php
bootstrapFiles:
- vendor/autoload.php
- src/resource/ConstantPhpStan.php
paths:
- conf
- src
- tests