Skip to content

feat(core)!: overhaul exception handling #3022

feat(core)!: overhaul exception handling

feat(core)!: overhaul exception handling #3022

Triggered via pull request December 16, 2025 00:00
Status Failure
Total duration 51s
Artifacts

coding-conventions.yml

on: pull_request
Run style check
24s
Run style check
Run static analysis: PHPStan
47s
Run static analysis: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

1 error, 4 warnings, and 1 notice
Run style check
Process completed with exit code 1.
no-redundant-use: src/Tempest/Framework/Testing/Http/TestResponseHelper.php#L23
Unused import: `Validator`. Help: Remove the entire `use` statement.
no-redundant-use: packages/router/src/Exceptions/HtmlExceptionRenderer.php#L9
Unused import: `SkipDiscovery`. Help: Remove the entire `use` statement.
no-redundant-use: packages/core/src/functions.php#L10
Unused import: `ExceptionProcessor`. Help: Remove the entire `use` statement.
no-redundant-use: packages/core/src/functions.php#L13
Unused import: `Throwable`. Help: Remove the entire `use` statement.
no-redundant-nullsafe: packages/router/src/ExceptionRendererDiscovery.php#L28
The nullsafe operator (`?->`) is redundant when used with `??`. The `??` operator already handles cases where the left-hand side is `null`, making the `?->` operator unnecessary. Help: Replace `?->` with the standard `->` operator for clarity.