diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index dc4b9156..0b46d7e6 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -20,6 +20,11 @@ parameters: count: 1 path: src/ContextProviders/LaravelRequestContextProvider.php + - + message: "#^Method Spatie\\\\Ignition\\\\Ignition\\:\\:renderException\\(\\) invoked with 1 parameter, 2 required\\.$#" + count: 1 + path: src/Renderers/ErrorPageRenderer.php + - message: "#^Unreachable statement \\- code above always terminates\\.$#" count: 1 @@ -85,3 +90,8 @@ parameters: count: 1 path: src/Views/ViewExceptionMapper.php + - + message: "#^Function ddd\\(\\) has no return type specified\\.$#" + count: 1 + path: src/helpers.php +