Skip to content

Commit 3894174

Browse files
committed
Updated Rector to commit 07654a98e4c2fcfe04390ef4eec5c6742500b4c7
rectorphp/rector-src@07654a9 [Php80] Handle crash on empty name attribute field value on AnnotationToAttributeRector (#7864)
1 parent a2d062e commit 3894174

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

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 = '92ddbf06d1d256ecfdec33f1a5f98c51fab440fc';
22+
public const PACKAGE_VERSION = '07654a98e4c2fcfe04390ef4eec5c6742500b4c7';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2026-01-29 00:45:46';
27+
public const RELEASE_DATE = '2026-01-29 09:34:59';
2828
/**
2929
* @var int
3030
*/

src/PhpAttribute/NodeFactory/PhpAttributeGroupFactory.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ private function mapClassReferences($expr, array $classReferencedFields): void
138138
if (!$arrayItem->value instanceof String_) {
139139
continue;
140140
}
141+
if ($arrayItem->value->value === '') {
142+
continue;
143+
}
141144
$arrayItem->value = new ClassConstFetch(new FullyQualified($arrayItem->value->value), 'class');
142145
}
143146
}

0 commit comments

Comments
 (0)