Skip to content

Commit

Permalink
Update functionMap with functions that return false on both PHP 7 and…
Browse files Browse the repository at this point in the history
… PHP 8
  • Loading branch information
ondrejmirtes committed Dec 15, 2020
1 parent 893813c commit 43e5399
Show file tree
Hide file tree
Showing 4 changed files with 240 additions and 240 deletions.
5 changes: 0 additions & 5 deletions build/baseline-8.0.neon
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ parameters:
count: 1
path: ../src/Reflection/ClassConstantReflection.php

-
message: "#^Binary operation \"\\+\" between array\\(class\\-string\\<TNodeType of PhpParser\\\\Node\\>\\) and array\\<string, class\\-string\\>\\|false results in an error\\.$#"
count: 1
path: ../src/Rules/Registry.php

-
message: "#^Strict comparison using \\=\\=\\= between array and false will always evaluate to false\\.$#"
count: 1
Expand Down
5 changes: 5 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,11 @@ parameters:
count: 1
path: src/Rules/Registry.php

-
message: "#^Binary operation \"\\+\" between array\\(class\\-string\\<TNodeType of PhpParser\\\\Node\\>\\) and array\\<string, class\\-string\\>\\|false results in an error\\.$#"
count: 1
path: src/Rules/Registry.php

-
message: "#^Cannot call method getActiveTemplateTypeMap\\(\\) on PHPStan\\\\Reflection\\\\ClassReflection\\|null\\.$#"
count: 2
Expand Down
Loading

0 comments on commit 43e5399

Please sign in to comment.