Skip to content

Commit ea949cb

Browse files
committed
[ci-review] Rector Rectify
1 parent 382f406 commit ea949cb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rules/Php83/Rector/ClassMethod/AddOverrideAttributeToOverriddenMethodsRector.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ private function shouldSkipClassMethod(ClassMethod $classMethod): bool
243243
if ($this->phpAttributeAnalyzer->hasPhpAttribute($classMethod, self::OVERRIDE_CLASS)) {
244244
return true;
245245
}
246+
246247
// skip test setup method override, as rather clutters the code than helps
247248
return $this->isName($classMethod, 'setUp') && $this->parentClassAnalyzer->hasParentCall($classMethod);
248249
}

0 commit comments

Comments
 (0)