Skip to content

Commit

Permalink
chore: update rector to 0.17.6
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Jul 21, 2023
1 parent 668f792 commit b5bd13b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "1.10.26",
"phpunit/phpunit": "^10.2",
"rector/rector": "0.17.0",
"rector/rector": "0.17.6",
"saschaegerer/phpstan-typo3": "^1.8",
"symfony/yaml": "^5.4 || ^6.2",
"symplify/phpstan-rules": "^12.0",
Expand Down
5 changes: 2 additions & 3 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Rector\Core\ValueObject\PhpVersion;
use Rector\Php74\Rector\LNumber\AddLiteralSeparatorToNumberRector;
use Rector\Php81\Rector\Array_\FirstClassCallableRector;
use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferPHPUnitThisCallRector;
use Rector\PHPUnit\Set\PHPUnitLevelSetList;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\Set\ValueObject\LevelSetList;
Expand All @@ -22,9 +23,6 @@
SetList::EARLY_RETURN,
PHPUnitLevelSetList::UP_TO_PHPUNIT_100,
PHPUnitSetList::PHPUNIT_CODE_QUALITY,
PHPUnitSetList::PHPUNIT_EXCEPTION,
PHPUnitSetList::PHPUNIT_SPECIFIC_METHOD,
PHPUnitSetList::PHPUNIT_YIELD_DATA_PROVIDER,
]);

$config->autoloadPaths([
Expand All @@ -43,6 +41,7 @@
FirstClassCallableRector::class => [
__DIR__ . '/Configuration/Services.php',
],
PreferPHPUnitThisCallRector::class,
__DIR__ . '/Classes/Adapter/GuzzleClientFactory.php',
__DIR__ . '/Tests/Unit/Connection/MatomoConnectorTest.php',
]);
Expand Down

0 comments on commit b5bd13b

Please sign in to comment.