feat(core)!: overhaul exception handling #3022
coding-conventions.yml
on: pull_request
Run style check
24s
Run static analysis: PHPStan
47s
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.
|