-
-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
85 lines (72 loc) · 2.5 KB
/
phpstan-baseline.neon
File metadata and controls
85 lines (72 loc) · 2.5 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
parameters:
ignoreErrors:
-
message: '#^Argument of an invalid type stdClass supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 2
path: src/CodeCoverage/Generators/CloverXMLGenerator.php
-
message: '#^Method Tester\\Assert\:\:exception\(\) should return \(T of Throwable\)\|null but returns Throwable\|null\.$#'
identifier: return.type
count: 1
path: src/Framework/Assert.php
-
message: '#^Closure invoked with 1 parameter, 0 required\.$#'
identifier: arguments.count
count: 1
path: src/Framework/DataProvider.php
-
message: '#^Parameter \#2 \$file of static method Tester\\DataProvider\:\:parseAnnotation\(\) expects string, array\<string\>\|string given\.$#'
identifier: argument.type
count: 1
path: src/Framework/Environment.php
-
message: '#^Variable \$ref in isset\(\) always exists and is not nullable\.$#'
identifier: isset.variable
count: 1
path: src/Framework/Helpers.php
-
message: '#^Anonymous function has an unused use \$runner\.$#'
identifier: closure.unusedUse
count: 1
path: src/Runner/CliTester.php
-
message: '#^Closure invoked with 1 parameter, 0 required\.$#'
identifier: arguments.count
count: 1
path: src/Runner/CliTester.php
-
message: '#^While loop condition is always true\.$#'
identifier: while.alwaysTrue
count: 1
path: src/Runner/CliTester.php
-
message: '#^Method Tester\\Runner\\CommandLine\:\:parse\(\) should return array\<string, mixed\> but returns array\<int\|string, mixed\>\.$#'
identifier: return.type
count: 1
path: src/Runner/CommandLine.php
-
message: '#^Offset string\|true might not exist on array\<string, array\<string, mixed\>\>\.$#'
identifier: offsetAccess.notFound
count: 1
path: src/Runner/CommandLine.php
-
message: '#^Call to function method_exists\(\) with Tester\\Runner\\OutputHandler and ''jobStarted'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Runner/Runner.php
-
message: '#^Call to function method_exists\(\) with Tester\\Runner\\OutputHandler and ''tick'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Runner/Runner.php
-
message: '#^If condition is always false\.$#'
identifier: if.alwaysFalse
count: 1
path: src/Runner/Runner.php
-
message: '#^Constant PHPDBG_VERSION not found\.$#'
identifier: constant.notFound
count: 1
path: src/Runner/info.php