diff --git a/rector.php b/rector.php index 444c0480..f24a8eee 100644 --- a/rector.php +++ b/rector.php @@ -17,7 +17,8 @@ codingStyle: true, naming: true, typeDeclarations: true, - privatization: true + privatization: true, + rectorPreset: true ) ->withConfiguredRule(StringClassNameToClassConstantRector::class, [ 'Doctrine\*', diff --git a/rules/Orm28/Rector/MethodCall/IterateToToIterableRector.php b/rules/Orm28/Rector/MethodCall/IterateToToIterableRector.php index edb6ea6e..9f21c9b6 100644 --- a/rules/Orm28/Rector/MethodCall/IterateToToIterableRector.php +++ b/rules/Orm28/Rector/MethodCall/IterateToToIterableRector.php @@ -76,7 +76,7 @@ public function run(): iterable } /** - * @param ClassMethod|MethodCall|Node\Stmt\Foreach_ $node + * @param ClassMethod|MethodCall|Foreach_ $node */ public function refactor(Node $node): MethodCall|ClassMethod|Foreach_|null { diff --git a/tests/Set/DoctrineCOLLECTION22Set/DoctrineCOLLECTION22SetTest.php b/tests/Set/DoctrineCOLLECTION22Set/DoctrineCOLLECTION22SetTest.php index ee2a750b..10c049cf 100644 --- a/tests/Set/DoctrineCOLLECTION22Set/DoctrineCOLLECTION22SetTest.php +++ b/tests/Set/DoctrineCOLLECTION22Set/DoctrineCOLLECTION22SetTest.php @@ -1,12 +1,14 @@