Skip to content

Commit a31661e

Browse files
committed
updated phpstan baseline
1 parent 0f1275b commit a31661e

File tree

1 file changed

+6
-21
lines changed

1 file changed

+6
-21
lines changed

phpstan-baseline.neon

+6-21
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
parameters:
22
ignoreErrors:
3-
-
4-
message: '#^Match expression does not handle remaining value\: true$#'
5-
count: 1
6-
path: src/PhpGenerator/ClassLike.php
7-
83
-
94
message: '#^Method Nette\\PhpGenerator\\ClassType\:\:addTrait\(\) has parameter \$deprecatedParam with no value type specified in iterable type array\.$#'
105
count: 1
@@ -15,16 +10,6 @@ parameters:
1510
count: 1
1611
path: src/PhpGenerator/EnumType.php
1712

18-
-
19-
message: '#^Access to an undefined property PhpParser\\Node\:\:\$attrGroups\.$#'
20-
count: 1
21-
path: src/PhpGenerator/Extractor.php
22-
23-
-
24-
message: '#^Access to an undefined property PhpParser\\Node\\Expr\:\:\$value\.$#'
25-
count: 1
26-
path: src/PhpGenerator/Extractor.php
27-
2813
-
2914
message: '#^Call to an undefined method Nette\\PhpGenerator\\ClassLike\:\:addConstant\(\)\.$#'
3015
count: 1
@@ -51,7 +36,7 @@ parameters:
5136
path: src/PhpGenerator/Extractor.php
5237

5338
-
54-
message: '#^Property class@anonymous/PhpGenerator/Extractor\.php\:176\:\:\$callback has no type specified\.$#'
39+
message: '#^Property class@anonymous/PhpGenerator/Extractor\.php\:175\:\:\$callback has no type specified\.$#'
5540
count: 1
5641
path: src/PhpGenerator/Extractor.php
5742

@@ -90,11 +75,6 @@ parameters:
9075
count: 1
9176
path: src/PhpGenerator/Factory.php
9277

93-
-
94-
message: '#^Parameter \#1 \$name of method Nette\\PhpGenerator\\ClassType\:\:setExtends\(\) expects string\|null, array\<int, string\> given\.$#'
95-
count: 1
96-
path: src/PhpGenerator/Factory.php
97-
9878
-
9979
message: '#^Unreachable statement \- code above always terminates\.$#'
10080
count: 1
@@ -115,6 +95,11 @@ parameters:
11595
count: 1
11696
path: src/PhpGenerator/Method.php
11797

98+
-
99+
message: '#^Method Nette\\PhpGenerator\\Printer\:\:printDocComment\(\) has parameter \$commentable with no type specified\.$#'
100+
count: 1
101+
path: src/PhpGenerator/Printer.php
102+
118103
-
119104
message: '#^Method Nette\\PhpGenerator\\TraitType\:\:addTrait\(\) has parameter \$deprecatedParam with no value type specified in iterable type array\.$#'
120105
count: 1

0 commit comments

Comments
 (0)