Skip to content

Commit

Permalink
updated phpstan baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Mar 23, 2023
1 parent d0e7c57 commit 0365893
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
parameters:
ignoreErrors:
-
message: '#^Match expression does not handle remaining value\: true$#'
count: 1
path: src/PhpGenerator/ClassLike.php

-
message: '#^Method Nette\\PhpGenerator\\ClassType\:\:addTrait\(\) has parameter \$deprecatedParam with no value type specified in iterable type array\.$#'
count: 1
Expand All @@ -15,16 +10,6 @@ parameters:
count: 1
path: src/PhpGenerator/EnumType.php

-
message: '#^Access to an undefined property PhpParser\\Node\:\:\$attrGroups\.$#'
count: 1
path: src/PhpGenerator/Extractor.php

-
message: '#^Access to an undefined property PhpParser\\Node\\Expr\:\:\$value\.$#'
count: 1
path: src/PhpGenerator/Extractor.php

-
message: '#^Call to an undefined method Nette\\PhpGenerator\\ClassLike\:\:addConstant\(\)\.$#'
count: 1
Expand All @@ -51,7 +36,7 @@ parameters:
path: src/PhpGenerator/Extractor.php

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

Expand Down Expand Up @@ -90,11 +75,6 @@ parameters:
count: 1
path: src/PhpGenerator/Factory.php

-
message: '#^Parameter \#1 \$name of method Nette\\PhpGenerator\\ClassType\:\:setExtends\(\) expects string\|null, array\<int, string\> given\.$#'
count: 1
path: src/PhpGenerator/Factory.php

-
message: '#^Unreachable statement \- code above always terminates\.$#'
count: 1
Expand All @@ -115,6 +95,11 @@ parameters:
count: 1
path: src/PhpGenerator/Method.php

-
message: '#^Method Nette\\PhpGenerator\\Printer\:\:printDocComment\(\) has parameter \$commentable with no type specified\.$#'
count: 1
path: src/PhpGenerator/Printer.php

-
message: '#^Method Nette\\PhpGenerator\\TraitType\:\:addTrait\(\) has parameter \$deprecatedParam with no value type specified in iterable type array\.$#'
count: 1
Expand Down

0 comments on commit 0365893

Please sign in to comment.