Skip to content

Commit 319264f

Browse files
committed
Updated Rector to commit c03bb57aa2dadd48639eac8d8f9c55ce771498c4
rectorphp/rector-src@c03bb57 Fix e2e test expectation due to new line info feature (#7963)
1 parent dc915bd commit 319264f

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

rules/Php83/Rector/ClassMethod/AddOverrideAttributeToOverriddenMethodsRector.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use PhpParser\Node\AttributeGroup;
99
use PhpParser\Node\Expr;
1010
use PhpParser\Node\Expr\Throw_;
11+
use PhpParser\Node\Name;
1112
use PhpParser\Node\Name\FullyQualified;
1213
use PhpParser\Node\Stmt;
1314
use PhpParser\Node\Stmt\Class_;
@@ -332,7 +333,7 @@ private function resolveClassMethodFromTraitUse(ClassLike $classLike, string $me
332333
// early return for the class if it does not extend anything
333334
private function shouldSkipNode(Class_ $class): bool
334335
{
335-
if ($class->extends !== null) {
336+
if ($class->extends instanceof Name) {
336337
return \false;
337338
}
338339
if ($class->getTraitUses() !== []) {

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 = '43ad95c6fd73abe0878dcd2ff81b4dfbcaf2c4a7';
22+
public const PACKAGE_VERSION = 'c03bb57aa2dadd48639eac8d8f9c55ce771498c4';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2026-04-07 18:44:14';
27+
public const RELEASE_DATE = '2026-04-07 17:15:22';
2828
/**
2929
* @var int
3030
*/

0 commit comments

Comments
 (0)