Skip to content

Commit 4d168ea

Browse files
authored
Update dev tools (#1095)
1 parent ecc688e commit 4d168ea

File tree

5 files changed

+29
-29
lines changed

5 files changed

+29
-29
lines changed

.dev-tools/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"ergebnis/composer-normalize": "^2.48.2",
66
"infection/infection": "^0.31.2",
77
"kubawerlos/composer-smaller-lock": "^1.1.0",
8-
"kubawerlos/php-cs-fixer-config": "^5.4",
8+
"kubawerlos/php-cs-fixer-config": "^5.5",
99
"mi-schi/phpmd-extension": "^4.3",
1010
"phpmd/phpmd": "^2.15",
1111
"phpstan/extension-installer": "^1.4.3",
12-
"phpstan/phpstan": "^2.1.28",
12+
"phpstan/phpstan": "^2.1.29",
1313
"phpstan/phpstan-phpunit": "^2.0.7",
14-
"phpstan/phpstan-strict-rules": "^2.0.6",
14+
"phpstan/phpstan-strict-rules": "^2.0.7",
1515
"shipmonk/composer-dependency-analyser": "^1.8.3",
1616
"shipmonk/dead-code-detector": "^0.13.3",
1717
"shipmonk/phpstan-rules": "^4.2.1",

.dev-tools/composer.lock

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/AutoReview/TestsCodeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function testDataProvidersValues(string $className): void
146146
\in_array($value[0], $doNotChangeCases, true),
147147
\sprintf(
148148
"Expected value:\n%s\nis already tested if it is not changing, it does not need separate test case (%s::%s).",
149-
$value[0],
149+
(string) $value[0],
150150
$className,
151151
$dataProvider->getName(),
152152
),

tests/Fixer/SingleSpaceAfterStatementFixerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ public function testTokenIsUseful(int $token): void
314314
self::assertNotSame(
315315
$expectedTokens->generateCode(),
316316
$allTokens->generateCode(),
317-
\sprintf('Removing token %s did not broke fixing', Token::getNameForId($token)),
317+
\sprintf('Removing token %s did not broke fixing', (string) Token::getNameForId($token)),
318318
);
319319
}
320320

tests/PriorityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ private static function getFixer(string $name, array $config): FixerInterface
140140
}
141141
}
142142

143-
throw new \Exception(\sprintf('Fixer "%s" not found in config: "%s".', $name, \json_encode($config)));
143+
throw new \Exception(\sprintf('Fixer "%s" not found in config: "%s".', (string) $name, (string) \json_encode($config)));
144144
}
145145

146146
private static function createSplFileInfoDouble(): \SplFileInfo

0 commit comments

Comments
 (0)