Skip to content

Commit

Permalink
DE-63904 Update rector and phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiří Bok authored and dorrogeray committed Oct 18, 2023
1 parent 4fe5920 commit 35334e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
"php": "^7.4 || >=8.1",
"composer-runtime-api": "^2.2",
"dealerdirect/phpcodesniffer-composer-installer": "^0.5 || ^0.7 || ^1.0",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan": "^1.10.39",
"phpstan/phpstan-mockery": "^1.1",
"phpstan/phpstan-nette": "^1.2",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-strict-rules": "^1.5",
"rector/rector": "^0.18.1",
"rector/rector": "^0.18.5",
"slevomat/coding-standard": "^8.13",
"squizlabs/php_codesniffer": "^3.7",
"symplify/easy-coding-standard": "^12.0.7"
Expand Down
2 changes: 0 additions & 2 deletions default-rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Rector\CodeQuality\Rector\Identical\FlipTypeControlToUseExclusiveTypeRector;
use Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector;
use Rector\CodingStyle\Rector\ClassMethod\UnSpreadOperatorRector;
use Rector\Config\RectorConfig;
use Rector\DeadCode\Rector\Plus\RemoveDeadZeroAndOneOperationRector;
use Rector\EarlyReturn\Rector\If_\ChangeAndIfToEarlyReturnRector;
Expand Down Expand Up @@ -46,7 +45,6 @@
ChangeOrIfContinueToMultiContinueRector::class,
ReturnBinaryOrToEarlyReturnRector::class,
CatchExceptionNameMatchingTypeRector::class,
UnSpreadOperatorRector::class,
// @see \PHPStan\Rules\DisallowedConstructs\DisallowedShortTernaryRule
// Short ternary operator is not allowed. Use null coalesce operator if applicable or consider using long ternary.
TernaryToElvisRector::class,
Expand Down

0 comments on commit 35334e9

Please sign in to comment.