diff --git a/composer.json b/composer.json index 1a3f5ee..1b483ec 100644 --- a/composer.json +++ b/composer.json @@ -15,15 +15,15 @@ "require-dev": { "brainbits/phpcs-standard": "^8.0.1", "brainbits/phpstan-rules": "^4.0.0", - "ergebnis/composer-normalize": "^2.50", + "ergebnis/composer-normalize": "^2.52", "ergebnis/phpstan-rules": "^2.13.1", - "phpstan/phpstan": "^2.1.40", - "phpstan/phpstan-phpunit": "^2.0.16", - "phpstan/phpstan-strict-rules": "^2.0.10", - "phpunit/phpunit": "^13.0.5", - "rector/rector": "^2.3.8", - "squizlabs/php_codesniffer": "^4.0.1", - "thecodingmachine/phpstan-safe-rule": "^1.4.3" + "phpstan/phpstan": "^2.2.8", + "phpstan/phpstan-phpunit": "^2.0.18", + "phpstan/phpstan-strict-rules": "^2.0.12", + "phpunit/phpunit": "^13.3.1", + "rector/rector": "^2.6.3", + "squizlabs/php_codesniffer": "^4.0.4", + "thecodingmachine/phpstan-safe-rule": "^1.4.7" }, "autoload": { "psr-4": { diff --git a/rector.php b/rector.php index 376f196..1fabf30 100644 --- a/rector.php +++ b/rector.php @@ -23,17 +23,11 @@ $rectorConfig->sets([ LevelSetList::UP_TO_PHP_84, - PHPUnitSetList::PHPUNIT_40, - PHPUnitSetList::PHPUNIT_50, - PHPUnitSetList::PHPUNIT_60, - PHPUnitSetList::PHPUNIT_70, - PHPUnitSetList::PHPUNIT_80, - PHPUnitSetList::PHPUNIT_90, - PHPUnitSetList::PHPUNIT_100, - PHPUnitSetList::PHPUNIT_110, - PHPUnitSetList::PHPUNIT_120, + PHPUnitSetList::PHPUNIT_MOCK_TO_STUB, PHPUnitSetList::PHPUNIT_CODE_QUALITY, + PHPUnitSetList::PHPUNIT_NARROW_ASSERTS, PHPUnitSetList::ANNOTATIONS_TO_ATTRIBUTES, + PHPUnitSetList::COMPOSER_BASED, SetList::CODE_QUALITY, SetList::CODING_STYLE,