diff --git a/rector.php b/rector.php index 814daee2..bbc974ce 100644 --- a/rector.php +++ b/rector.php @@ -13,6 +13,7 @@ use Rector\DeadCode\Rector\Node\RemoveNonExistingVarAnnotationRector; use Rector\Php80\Rector\Catch_\RemoveUnusedVariableInCatchRector; use Rector\Php80\Rector\FuncCall\ClassOnObjectRector; +use Rector\Php80\Rector\FunctionLike\MixedTypeRector; use Rector\Php81\Rector\Property\ReadOnlyPropertyRector; use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector; use Rector\Strict\Rector\Ternary\DisallowedShortTernaryRuleFixerRector; @@ -36,6 +37,7 @@ // uncomment to reach your current PHP version // ->withPhpSets(php82: true) ->withRules([ + MixedTypeRector::class, ReadOnlyPropertyRector::class, RemoveUnusedVariableInCatchRector::class, ClassOnObjectRector::class, diff --git a/src/ObjectCache/ObjectCache.php b/src/ObjectCache/ObjectCache.php index afdef833..b9e5e7cb 100644 --- a/src/ObjectCache/ObjectCache.php +++ b/src/ObjectCache/ObjectCache.php @@ -52,7 +52,6 @@ private function isBlacklisted(mixed $source): bool * cache will yield an exception. If the target is finally cached, it is * no longer in precached status. * - * @param mixed $source * @param Type $targetType * @return void */