Skip to content

Commit

Permalink
Merge pull request #4123 from annda/rector-0.18.12
Browse files Browse the repository at this point in the history
Upgrade rector to 0.18.12
  • Loading branch information
splitbrain committed Dec 7, 2023
2 parents e3f23f2 + 9b94465 commit 5a2f35d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion _test/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"prefer-stable": true,
"require-dev": {
"rector/rector": "^0.18.3",
"rector/rector": "^0.18.12",
"squizlabs/php_codesniffer": "^3.7",
"phpunit/phpunit": "^8.5"
},
Expand Down
14 changes: 7 additions & 7 deletions _test/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions _test/rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
use Rector\CodeQuality\Rector\If_\SimplifyIfReturnBoolRector;
use Rector\CodeQuality\Rector\Isset_\IssetOnPropertyObjectToPropertyExistsRector;
use Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector;
use Rector\CodingStyle\Rector\Class_\AddArrayDefaultToArrayPropertyRector;
use Rector\CodingStyle\Rector\Closure\StaticClosureRector;
use Rector\CodingStyle\Rector\Encapsed\EncapsedStringsToSprintfRector;
use Rector\CodingStyle\Rector\Encapsed\WrapEncapsedVariableInCurlyBracesRector;
Expand All @@ -30,7 +29,6 @@
use Rector\DeadCode\Rector\Property\RemoveUselessVarTagRector;
use Rector\DeadCode\Rector\StaticCall\RemoveParentCallWithoutParentRector;
use Rector\DeadCode\Rector\Stmt\RemoveUnreachableStatementRector;
use Rector\Php71\Rector\FuncCall\CountOnNullRector;
use Rector\Php71\Rector\FuncCall\RemoveExtraParametersRector;
use Rector\Php80\Rector\Identical\StrEndsWithRector;
use Rector\Php80\Rector\Identical\StrStartsWithRector;
Expand Down Expand Up @@ -117,12 +115,10 @@
PostIncDecToPreIncDecRector::class,
RemoveUselessParamTagRector::class,
DisallowedEmptyRuleFixerRector::class,
CountOnNullRector::class, // adds unwanted is_countable checks?
RemoveParentCallWithoutParentRector::class,
WrapEncapsedVariableInCurlyBracesRector::class,
SimplifyIfReturnBoolRector::class,
StrictArraySearchRector::class, // we cannot assume strict search is always wanted
AddArrayDefaultToArrayPropertyRector::class, // may break code differentiating between null and empty array
RemoveUselessVarTagRector::class,
TypedPropertyFromAssignsRector::class, // maybe?
JoinStringConcatRector::class, // this does not count variables, so it creates overlong lines
Expand Down

0 comments on commit 5a2f35d

Please sign in to comment.