Skip to content

Commit bfd8fbc

Browse files
committed
Updated Rector to commit 0f57b9f5d406115edb5c8e3450b30ec780972fe7
rectorphp/rector-src@0f57b9f [Php84] Add message name on multilines on DeprecatedAnnotationToDeprecatedAttributeRector (#7030)
1 parent f262169 commit bfd8fbc

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

rules/Php84/Rector/Class_/DeprecatedAnnotationToDeprecatedAttributeRector.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use PhpParser\Node\Arg;
99
use PhpParser\Node\Attribute;
1010
use PhpParser\Node\AttributeGroup;
11+
use PhpParser\Node\Identifier;
1112
use PhpParser\Node\Name\FullyQualified;
1213
use PhpParser\Node\Scalar\String_;
1314
use PhpParser\Node\Stmt\ClassConst;
@@ -141,7 +142,7 @@ private function createAttributeGroup(string $annotationValue) : AttributeGroup
141142
$matches = Strings::match($annotationValue, self::VERSION_MATCH_REGEX);
142143
if ($matches === null) {
143144
$annotationValue = Strings::replace($annotationValue, self::START_STAR_SPACED_REGEX, '');
144-
return new AttributeGroup([new Attribute(new FullyQualified('Deprecated'), [new Arg(new String_($annotationValue, [AttributeKey::KIND => String_::KIND_NOWDOC, AttributeKey::DOC_LABEL => 'TXT']))])]);
145+
return new AttributeGroup([new Attribute(new FullyQualified('Deprecated'), [new Arg(new String_($annotationValue, [AttributeKey::KIND => String_::KIND_NOWDOC, AttributeKey::DOC_LABEL => 'TXT']), \false, \false, [], new Identifier('message'))])]);
145146
}
146147
$since = $matches[1] ?? null;
147148
$message = $matches[2] ?? null;

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 = '26e1535136519525f87ec3872aa4322f1269c791';
22+
public const PACKAGE_VERSION = '0f57b9f5d406115edb5c8e3450b30ec780972fe7';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2025-06-30 03:38:59';
27+
public const RELEASE_DATE = '2025-06-30 03:46:13';
2828
/**
2929
* @var int
3030
*/

0 commit comments

Comments
 (0)