diff --git a/composer.json b/composer.json index df085227..f579b8aa 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.6", - "graham-campbell/analyzer": "^3.0.5", + "graham-campbell/analyzer": "^4.2", "illuminate/collections": "^8.62.0", "league/flysystem": "^2.3.0 || ^3.0", "pestphp/pest": "^1.21", diff --git a/tests/AnalysisTest.php b/tests/AnalysisTest.php index 156a6632..70dfcc7f 100644 --- a/tests/AnalysisTest.php +++ b/tests/AnalysisTest.php @@ -9,7 +9,7 @@ class AnalysisTest extends TestCase { use AnalysisTrait; - protected function getPaths() + protected static function getPaths(): array { return [ __DIR__.'/../src',