Skip to content

Replace the in_array method with is_a when looking up ignored exceptions. #128

Replace the in_array method with is_a when looking up ignored exceptions.

Replace the in_array method with is_a when looking up ignored exceptions. #128

Triggered via pull request November 28, 2024 13:55
Status Failure
Total duration 1m 1s
Artifacts

php.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

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.