Skip to content

Commit 3216496

Browse files
committed
Updated Rector to commit ebf9eb26e1dfbb7027c1e1cdf8051c43d7a6ab1e
rectorphp/rector-src@ebf9eb2 [Php83] Fix infinite add - remove #[Override] on tearDown() method on AddOverrideAttributeToOverriddenMethodsRector when combined with NoSetupWithParentCallOverrideRector (#7903)
1 parent 5ebc985 commit 3216496

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

rules/Php83/Rector/ClassMethod/AddOverrideAttributeToOverriddenMethodsRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ private function shouldSkipClassMethod(ClassMethod $classMethod): bool
229229
return \true;
230230
}
231231
// skip test setup method override, as rather clutters the code than helps
232-
return $this->isName($classMethod, 'setUp') && $this->parentClassAnalyzer->hasParentCall($classMethod);
232+
return $this->isNames($classMethod, ['setUp', 'tearDown']) && $this->parentClassAnalyzer->hasParentCall($classMethod);
233233
}
234234
private function shouldSkipParentClassMethod(ClassReflection $parentClassReflection, ClassMethod $classMethod): bool
235235
{

src/Application/VersionResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ final class VersionResolver
1919
* @api
2020
* @var string
2121
*/
22-
public const PACKAGE_VERSION = '27ce05f4571011fde408fd0e574cccb02dcd8622';
22+
public const PACKAGE_VERSION = 'ebf9eb26e1dfbb7027c1e1cdf8051c43d7a6ab1e';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2026-02-20 13:15:32';
27+
public const RELEASE_DATE = '2026-02-20 22:06:18';
2828
/**
2929
* @var int
3030
*/

0 commit comments

Comments
 (0)