mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 22:08:00 +01:00
Updated Rector to commit 6dd91df6c991f7f0d5cd8422fc22be1367563262
6dd91df6c9
[PHP 8.0] Fix annotation to attribute in case of FQN class without () (#5609)
This commit is contained in:
parent
a120574816
commit
1d666f3abf
@ -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
|
||||
*/
|
||||
|
@ -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 = '#@\\\\(?<class_name>.*?)(?<annotation_content>\\(.*?\\)|,)#';
|
||||
private const LONG_ANNOTATION_REGEX = '#@\\\\(?<class_name>.*?)(?<annotation_content>\\(.*?\\)|,|\\n|$)#';
|
||||
/**
|
||||
* @see https://regex101.com/r/xWaLOz/1
|
||||
* @var string
|
||||
|
Loading…
x
Reference in New Issue
Block a user