Skip to content

Commit

Permalink
FIX: Fixed phpstan errors introduced by pull request from contributer
Browse files Browse the repository at this point in the history
... because of deprecation layer if - else
  • Loading branch information
higidi committed Dec 19, 2022
1 parent e261cbc commit 0425495
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions phpstan-baseline.neon
Expand Up @@ -51,12 +51,7 @@ parameters:
path: src/VCR/Videorecorder.php

-
message: "#^Parameter \\#1 \\$event of method Symfony\\\\Contracts\\\\EventDispatcher\\\\EventDispatcherInterface\\:\\:dispatch\\(\\) expects object, string\\|null given\\.$#"
count: 1
path: src/VCR/Videorecorder.php

-
message: "#^Parameter \\#2 \\$eventName of method Symfony\\\\Contracts\\\\EventDispatcher\\\\EventDispatcherInterface\\:\\:dispatch\\(\\) expects string\\|null, VCR\\\\Event\\\\Event given\\.$#"
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
count: 1
path: src/VCR/Videorecorder.php

Expand Down

0 comments on commit 0425495

Please sign in to comment.