Skip to content

Commit 30788b7

Browse files
committed
Updated Rector to commit 449db3f5a29344cf9c44131fd1117e3966998f3b
rectorphp/rector-src@449db3f [Php74] Skip anonymous classes in RestoreDefaultNullToNullableTypePropertyRector (#8104)
1 parent 6e2ca32 commit 30788b7

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

rules/Php74/Rector/Property/RestoreDefaultNullToNullableTypePropertyRector.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ public function getNodeTypes(): array
6060
*/
6161
public function refactor(Node $node): ?Node
6262
{
63+
if ($node->isAnonymous()) {
64+
return null;
65+
}
6366
if ($this->isReadonlyClass($node)) {
6467
return null;
6568
}

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 = '84a2cd822744491f9c8cb4fbc41a28507c589ad7';
22+
public const PACKAGE_VERSION = '449db3f5a29344cf9c44131fd1117e3966998f3b';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2026-06-29 10:02:43';
27+
public const RELEASE_DATE = '2026-06-29 08:19:48';
2828
/**
2929
* @var int
3030
*/

0 commit comments

Comments
 (0)