Skip to content

Commit ef007c6

Browse files
author
Andreas Frömer
committed
Bump phpstan to avoid outdated errors
1 parent c56de75 commit ef007c6

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
"symfony/process": "^5.0|^6.0"
88
},
99
"require-dev": {
10-
"phpunit/phpunit": "^9.4.2",
11-
"squizlabs/php_codesniffer": "^3.5.8",
10+
"phpunit/phpunit": "^9.6.9",
11+
"squizlabs/php_codesniffer": "^3.7.2",
1212
"slevomat/coding-standard": "^6.4.1",
13-
"phpstan/phpstan": "^0.12.51",
14-
"phpspec/prophecy-phpunit": "^2.0.1"
13+
"phpstan/phpstan": "^1.10.21",
14+
"phpspec/prophecy-phpunit": "^2.0.2"
1515
},
1616
"autoload": {
1717
"psr-4": {

src/SystemCtl.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public static function unitFromSuffix(string $unitSuffix, string $unitName): Uni
9393
->setTimeout(self::$timeout)
9494
->setBinary(self::$binary);
9595

96+
// @phpstan-ignore-next-line
9697
return new $unitClass($unitName, $commandDispatcher);
9798
}
9899

0 commit comments

Comments
 (0)