From 116b96c1ad98fb9a9f2db068b5ff1ffeac82148d Mon Sep 17 00:00:00 2001 From: Christian Heel <66922325+heelc29@users.noreply.github.com> Date: Sat, 3 Aug 2024 19:18:25 +0200 Subject: [PATCH 1/2] update deprecations --- tests/ApplicationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ApplicationTest.php b/tests/ApplicationTest.php index a7c37fa5..85a6621f 100644 --- a/tests/ApplicationTest.php +++ b/tests/ApplicationTest.php @@ -153,7 +153,7 @@ public function testSetGetVersion() * * @return \Generator */ - public function dataGetLongVersion(): \Generator + public static function dataGetLongVersion(): \Generator { // Args: App Name, App Version, Expected Return yield 'Empty name and version' => ['', '', 'Joomla Console Application']; From 6d9913574c055215b94ee146186e4e7f14d795aa Mon Sep 17 00:00:00 2001 From: Christian Heel <66922325+heelc29@users.noreply.github.com> Date: Sat, 3 Aug 2024 19:18:54 +0200 Subject: [PATCH 2/2] update phpunit/phpcs --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 9aa19e79..5dba1091 100644 --- a/composer.json +++ b/composer.json @@ -15,9 +15,9 @@ }, "require-dev": { "joomla/test": "^3.0", - "phpunit/phpunit": "^9.5.28", + "phpunit/phpunit": "^10.0", "psr/container": "^1.0", - "squizlabs/php_codesniffer": "~3.7.2", + "squizlabs/php_codesniffer": "~3.10.2", "phpstan/phpstan": "^1.10.7", "phan/phan": "^5.4.2" },