You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In CodeCoverageMethodIgnoreVisitor.php line 56:
Method foo does not exist
Seems that code seeks method in host class instead of anonymous one, because if I add private function foo() {} to Bug class, the error dissapears.
I don't know either bug is in PHP-Parser or in Infection, but it affects your software anyway.
The text was updated successfully, but these errors were encountered:
I'm more of a fan of the first solution since it will prevent the same kind of error in the future, but it may require more refactoring in other places.
infection.phar --version
)php -v
)Infection reports an error if the following code occurs in source folder:
The error is:
Seems that code seeks method in host class instead of anonymous one, because if I add
private function foo() {}
toBug
class, the error dissapears.I don't know either bug is in PHP-Parser or in Infection, but it affects your software anyway.
The text was updated successfully, but these errors were encountered: