Skip to content

Commit 41456cc

Browse files
authored
Update dev tools (#761)
1 parent fdcfb90 commit 41456cc

File tree

4 files changed

+57
-64
lines changed

4 files changed

+57
-64
lines changed

.dev-tools/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"require": {
33
"php": "^8.1",
4-
"ergebnis/composer-normalize": "^2.23.1",
5-
"infection/infection": "^0.26.5",
4+
"ergebnis/composer-normalize": "^2.24.0",
5+
"infection/infection": "^0.26.6",
66
"kubawerlos/composer-smaller-lock": "^1.0.0",
77
"kubawerlos/php-cs-fixer-config": "^3.8.0",
88
"kubawerlos/types-checker": "^2.2.0",
99
"maglnet/composer-require-checker": "^4.0.0",
1010
"mi-schi/phpmd-extension": "^4.3.0",
1111
"phpmd/phpmd": "dev-master as 2.12.0",
1212
"phpstan/extension-installer": "^1.1.0",
13-
"phpstan/phpstan": "^1.4.6",
13+
"phpstan/phpstan": "^1.4.10",
1414
"phpstan/phpstan-phpunit": "^1.0.0",
1515
"phpstan/phpstan-strict-rules": "^1.1.0",
1616
"squizlabs/php_codesniffer": "^3.6.2",

.dev-tools/composer.lock

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

.php-cs-fixer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
*/
1111

1212
require_once __DIR__ . '/vendor/autoload.php';
13-
require_once __DIR__ . '/.dev-tools/vendor/kubawerlos/php-cs-fixer-config/src/Rules/RulesInterface.php';
14-
require_once __DIR__ . '/.dev-tools/vendor/kubawerlos/php-cs-fixer-config/src/Rules/LibraryRules.php';
1513
$rules = (new PhpCsFixerConfig\Rules\LibraryRules('PHP CS Fixer: custom fixers', 'Kuba Werłos', 2018))->getRules();
1614

1715
$rules[PhpCsFixerCustomFixers\Fixer\NoSuperfluousConcatenationFixer::name()] = ['allow_preventing_trailing_spaces' => true];

tests/AutoReview/TestsCodeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ public function testDataProvidersValues(string $className): void
122122
$dataProviders = $this->getDataProviders($className);
123123

124124
foreach ($dataProviders as $dataProvider) {
125+
/** @var \Iterator<array<int, null|string>> $dataSet */
125126
$dataSet = $dataProvider->invoke(null);
126-
\assert($dataSet instanceof \Iterator);
127127
$dataSet = \iterator_to_array($dataSet);
128128

129129
$doNotChangeCases = [];

0 commit comments

Comments
 (0)