Skip to content

Commit 6a5c383

Browse files
authored
[3.x] Update PHPUnit to 10 (#21)
fix phpstan errors, update phpunit
1 parent fd5824c commit 6a5c383

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
},
1616
"require-dev": {
1717
"joomla/test": "^3.0",
18-
"phpunit/phpunit": "^9.5.28",
18+
"phpunit/phpunit": "^10.0",
1919
"psr/container": "^1.0",
20-
"squizlabs/php_codesniffer": "~3.7.2",
20+
"squizlabs/php_codesniffer": "~3.10.2",
2121
"phpstan/phpstan": "1.12.27",
2222
"phpstan/phpstan-deprecation-rules": "1.2.1"
2323
},

tests/ApplicationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public function testSetGetVersion()
153153
*
154154
* @return \Generator
155155
*/
156-
public function dataGetLongVersion(): \Generator
156+
public static function dataGetLongVersion(): \Generator
157157
{
158158
// Args: App Name, App Version, Expected Return
159159
yield 'Empty name and version' => ['', '', 'Joomla Console Application'];

0 commit comments

Comments
 (0)