Skip to content

Commit

Permalink
MixedTypeRector
Browse files Browse the repository at this point in the history
  • Loading branch information
priyadi committed Jul 18, 2024
1 parent e014bfe commit 9e5b8e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -36,6 +37,7 @@
// uncomment to reach your current PHP version
// ->withPhpSets(php82: true)
->withRules([
MixedTypeRector::class,
ReadOnlyPropertyRector::class,
RemoveUnusedVariableInCatchRector::class,
ClassOnObjectRector::class,
Expand Down
1 change: 0 additions & 1 deletion src/ObjectCache/ObjectCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 9e5b8e1

Please sign in to comment.