diff --git a/laravel/config/concurrency.php b/laravel/config/concurrency.php index 1d66b701..cb8022b4 100644 --- a/laravel/config/concurrency.php +++ b/laravel/config/concurrency.php @@ -15,6 +15,6 @@ | */ - 'driver' => env('CONCURRENCY_DRIVER', 'process'), + 'default' => env('CONCURRENCY_DRIVER', 'process'), ]; diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index aab49911..f24ad84c 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,2 +1,11 @@ parameters: - ignoreErrors: [] + ignoreErrors: + - + message: "#^Unable to resolve the template type TGroupKey in call to method Illuminate\\\\Support\\\\Collection\\\\|Orchestra\\\\Testbench\\\\Contracts\\\\Attributes\\\\TestingFeature\\>\\|class\\-string\\\\|Orchestra\\\\Testbench\\\\Contracts\\\\Attributes\\\\TestingFeature\\>\\>\\:\\:groupBy\\(\\)$#" + count: 2 + path: src/Foundation/Application.php + + - + message: "#^Unable to resolve the template type TGroupKey in call to method Illuminate\\\\Support\\\\Collection\\\\|Orchestra\\\\Testbench\\\\Contracts\\\\Attributes\\\\TestingFeature\\>\\|class\\-string\\\\|Orchestra\\\\Testbench\\\\Contracts\\\\Attributes\\\\TestingFeature\\>\\>\\:\\:groupBy\\(\\)$#" + count: 4 + path: src/TestCase.php diff --git a/src/Attributes/RequiresDatabase.php b/src/Attributes/RequiresDatabase.php index df781c85..e656155f 100644 --- a/src/Attributes/RequiresDatabase.php +++ b/src/Attributes/RequiresDatabase.php @@ -72,7 +72,7 @@ public function handle($app, Closure $action): void } if ( - is_string($this->driver) + \is_string($this->driver) && ! \is_null($this->versionRequirement) && preg_match('/(?P[<>=!]{0,2})\s*(?P[\d\.-]+(dev|(RC|alpha|beta)[\d\.])?)[ \t]*\r?$/m', $this->versionRequirement, $matches) ) {