Updated Rector to commit 95f9772f17b436fce469f68b1ed09445131235ee

95f9772f17 [Php81] Handle after open parentheses on AnnotationToAttributeRector (#5613)
This commit is contained in:
Tomas Votruba 2024-02-13 05:08:05 +00:00
parent b9e54635e9
commit adf6cdfc87
3 changed files with 6 additions and 3 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '7afec9a02c39848257341c4d2d08e1ddf52bc58b';
public const PACKAGE_VERSION = '95f9772f17b436fce469f68b1ed09445131235ee';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-02-13 11:42:42';
public const RELEASE_DATE = '2024-02-13 12:05:45';
/**
* @var int
*/

View File

@ -319,6 +319,9 @@ final class DoctrineAnnotationDecorator implements PhpDocNodeDecoratorInterface
if (\substr_compare($trimmedNestedAnnotationOpen, '{', -\strlen('{')) === 0) {
return $annotationContent;
}
if ($trimmedNestedAnnotationOpen === '') {
return $annotationContent;
}
return '("' . \trim($trimmedNestedAnnotationOpen, '"\'') . '")';
}
}

View File

@ -14,7 +14,7 @@ $loader = (static function () {
// Restore the backup and ensure the excluded files are properly marked as loaded
$GLOBALS['__composer_autoload_files'] = \array_merge(
$existingComposerAutoloadFiles,
\array_fill_keys(['5928a00fa978807cf85d90ec3f4b0147', '0e6d7bf4a5811bfa5cf40c5ccd6fae6a'], true)
\array_fill_keys(['0e6d7bf4a5811bfa5cf40c5ccd6fae6a', '5928a00fa978807cf85d90ec3f4b0147'], true)
);
return $loader;