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 the latest release of PHPUnit (9.5.2) the Assert::callback() method has gotten some psalm definitions, see sebastianbergmann/phpunit@eee79a1
This triggers the following error:
Unable to resolve the template type CallbackInput in call to method static method PHPUnit\Framework\Assert::callback()
I didn't even know PHPStan was reading them, and I guess it's not normally a problem.
However, in this case a CallbackInput generic type is used, which I think points back to PHPUnit\Framework\Constraint::Callback, and that is not properly picked up.
I don't know if this is a phpstan-phpunit or phpstan in general issue, but I thought it best to start here.
The text was updated successfully, but these errors were encountered:
In the latest release of PHPUnit (9.5.2) the
Assert::callback()
method has gotten some psalm definitions, see sebastianbergmann/phpunit@eee79a1This triggers the following error:
I didn't even know PHPStan was reading them, and I guess it's not normally a problem.
However, in this case a
CallbackInput
generic type is used, which I think points back toPHPUnit\Framework\Constraint::Callback
, and that is not properly picked up.I don't know if this is a phpstan-phpunit or phpstan in general issue, but I thought it best to start here.
The text was updated successfully, but these errors were encountered: