diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 4f040ba8428..85a878d56a6 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -19,12 +19,12 @@ final class VersionResolver * @api * @var string */ - public const PACKAGE_VERSION = '14eb72c7bb6edc4a6e80c73c722f54465d947531'; + public const PACKAGE_VERSION = '6dd91df6c991f7f0d5cd8422fc22be1367563262'; /** * @api * @var string */ - public const RELEASE_DATE = '2024-02-12 21:49:34'; + public const RELEASE_DATE = '2024-02-12 15:39:35'; /** * @var int */ diff --git a/src/BetterPhpDocParser/PhpDocParser/DoctrineAnnotationDecorator.php b/src/BetterPhpDocParser/PhpDocParser/DoctrineAnnotationDecorator.php index f537466beda..3555e37b75e 100644 --- a/src/BetterPhpDocParser/PhpDocParser/DoctrineAnnotationDecorator.php +++ b/src/BetterPhpDocParser/PhpDocParser/DoctrineAnnotationDecorator.php @@ -50,10 +50,10 @@ final class DoctrineAnnotationDecorator implements PhpDocNodeDecoratorInterface */ private const ALLOWED_SHORT_ANNOTATIONS = ['Target']; /** - * @see https://regex101.com/r/95kIw4/2 + * @see https://regex101.com/r/bGp2V0/1 * @var string */ - private const LONG_ANNOTATION_REGEX = '#@\\\\(?.*?)(?\\(.*?\\)|,)#'; + private const LONG_ANNOTATION_REGEX = '#@\\\\(?.*?)(?\\(.*?\\)|,|\\n|$)#'; /** * @see https://regex101.com/r/xWaLOz/1 * @var string