From d77586d91390a0547032cfec9b02764d82df2a97 Mon Sep 17 00:00:00 2001 From: Patrick O'Meara Date: Tue, 21 Jan 2025 08:18:10 +1100 Subject: [PATCH] Update graham-campbell/analyzer This was causing a deprecation error in the tests --- composer.json | 2 +- tests/AnalysisTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index df085227e..f579b8aae 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 156a66326..70dfcc7f0 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',