Skip to content

Commit

Permalink
⬆️ upgrade rector to ^1.2.2 (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanti authored Aug 1, 2024
1 parent a8daccc commit dd5f89b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
"phpstan/phpstan": "^1.9.0",
"pluswerk/grumphp-bom-task": "^8.0.0",
"pluswerk/grumphp-xliff-task": "^6.0.0",
"rector/rector": "^1.0.4",
"rector/rector": "^1.2.2",
"squizlabs/php_codesniffer": "^3.7.1",
"symfony/yaml": "^5.4.0 || ^6.0 || ^7.0"
},
"require-dev": {
"composer/composer": "^2.6.6",
"composer/composer": "^2.7.7",
"pluswerk/grumphp-bom-task": "dev-main as 8.99.99",
"pluswerk/grumphp-xliff-task": "dev-main as 6.99.99",
"roave/security-advisories": "dev-latest"
Expand Down
12 changes: 0 additions & 12 deletions src/RectorSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
use Rector\CodeQuality\Rector\Isset_\IssetOnPropertyObjectToPropertyExistsRector;
use Rector\CodingStyle\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector;
use Rector\CodingStyle\Rector\If_\NullableCompareToNullRector;
use Rector\CodingStyle\Rector\PostInc\PostIncDecToPreIncDecRector;
use Rector\Php70\Rector\Assign\ListSwapArrayOrderRector;
use Rector\Php74\Rector\LNumber\AddLiteralSeparatorToNumberRector;
use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
Expand Down Expand Up @@ -132,11 +130,6 @@ public static function skip(): array
* TO: if ($someClass instanceof SomeClass && $someClass->someMethod()) {
*/
BinaryOpNullableToInstanceofRector::class,
/**
* FROM: $i++
* TO: ++$i
*/
PostIncDecToPreIncDecRector::class,
/**
* FROM: if(count($array)) {
* TO: if($array !== []) {
Expand All @@ -156,11 +149,6 @@ public static function skip(): array
* => we don't do it once!
*/
ListSwapArrayOrderRector::class,
/**
* FROM: 1305630314
* TO: 1_305_630_314
*/
AddLiteralSeparatorToNumberRector::class,
/**
* Maybe to a later date?
*
Expand Down

0 comments on commit dd5f89b

Please sign in to comment.