Replace the in_array method with is_a when looking up ignored exceptions. #128
Annotations
5 errors
InvalidCast:
src/Event/Listener/ConsoleExceptionListener.php#L27
src/Event/Listener/ConsoleExceptionListener.php:27:37: InvalidCast: array<array-key, mixed> cannot be cast to string (see https://psalm.dev/103)
|
InvalidArgument:
src/Event/Listener/ConsoleExceptionListener.php#L27
src/Event/Listener/ConsoleExceptionListener.php:27:37: InvalidArgument: Argument 2 of is_a expects class-string, but array<array-key, mixed> provided (see https://psalm.dev/004)
|
InvalidCast:
src/Event/Listener/ExceptionListener.php#L46
src/Event/Listener/ExceptionListener.php:46:37: InvalidCast: array<array-key, mixed> cannot be cast to string (see https://psalm.dev/103)
|
InvalidArgument:
src/Event/Listener/ExceptionListener.php#L46
src/Event/Listener/ExceptionListener.php:46:37: InvalidArgument: Argument 2 of is_a expects class-string, but array<array-key, mixed> provided (see https://psalm.dev/004)
|
PHP 8.3
Process completed with exit code 2.
|