Skip to content

Merge pull request #144: Resolve PHP 8.4 deprecations #238

Merge pull request #144: Resolve PHP 8.4 deprecations

Merge pull request #144: Resolve PHP 8.4 deprecations #238

Triggered via push December 7, 2024 21:18
Status Failure
Total duration 2m 44s
Artifacts
Matrix: phpstan
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
phpstan (ubuntu-latest, 8.2, locked): src/Command/Run.php#L1
Ignored error pattern #^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$# in path /home/runner/work/trap/trap/src/Command/Run.php was not matched in reported errors.
phpstan (ubuntu-latest, 8.2, locked): src/Handler/Http/Middleware/XHProfTrap.php#L71
PHPDoc tag @var for variable $payload has no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.2, locked): src/Handler/Http/Middleware/XHProfTrap.php#L71
PHPDoc tag @var for variable $payload has no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.2, locked): src/Handler/Http/Middleware/XHProfTrap.php#L73
Call to function is_array() with array will always evaluate to true.
phpstan (ubuntu-latest, 8.2, locked): src/Handler/Http/Middleware/XHProfTrap.php#L73
Call to function is_array() with array will always evaluate to true.
phpstan (ubuntu-latest, 8.2, locked): src/Handler/Http/Middleware/XHProfTrap.php#L73
Offset 'profile' on array{profile: array, tags: array, app_name: string, hostname: string, date: int<1, max>} on left side of ?? always exists and is not nullable.
phpstan (ubuntu-latest, 8.2, locked): src/Handler/Http/Middleware/XHProfTrap.php#L73
Offset 'tags' on array{profile: array, tags: array, app_name: string, hostname: string, date: int<1, max>} on left side of ?? always exists and is not nullable.
phpstan (ubuntu-latest, 8.2, locked): src/Handler/Http/Middleware/XHProfTrap.php#L91
Offset 'tags' on array{profile: array, tags: array, app_name: string, hostname: string, date: int<1, max>} on left side of ?? always exists and is not nullable.
phpstan (ubuntu-latest, 8.2, locked): src/Handler/Http/Middleware/XHProfTrap.php#L92
Offset 'profile' on array{profile: array, tags: array, app_name: string, hostname: string, date: int<1, max>} on left side of ?? always exists and is not nullable.
phpstan (ubuntu-latest, 8.2, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
psalm (ubuntu-latest, 8.2, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636