golden hour
/opt/cpanel/ea-wappspector/vendor/rector/rector/src/BetterPhpDocParser/ValueObject
⬆️ Go Up
Upload
File/Folder
Size
Actions
DoctrineAnnotation
-
Del
OK
NodeTypes.php
1.07 KB
Del
OK
Parser
-
Del
OK
PhpDoc
-
Del
OK
PhpDocAttributeKey.php
741 B
Del
OK
StartAndEnd.php
659 B
Del
OK
Type
-
Del
OK
Edit: NodeTypes.php
<?php declare (strict_types=1); namespace Rector\BetterPhpDocParser\ValueObject; use PHPStan\PhpDocParser\Ast\PhpDoc\ParamTagValueNode; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagValueNode; use PHPStan\PhpDocParser\Ast\PhpDoc\PropertyTagValueNode; use PHPStan\PhpDocParser\Ast\PhpDoc\ReturnTagValueNode; use PHPStan\PhpDocParser\Ast\PhpDoc\TemplateTagValueNode; use PHPStan\PhpDocParser\Ast\PhpDoc\ThrowsTagValueNode; use PHPStan\PhpDocParser\Ast\PhpDoc\VarTagValueNode; final class NodeTypes { /** * @var array<class-string<PhpDocTagValueNode>> */ public const TYPE_AWARE_NODES = [VarTagValueNode::class, ParamTagValueNode::class, ReturnTagValueNode::class, ThrowsTagValueNode::class, PropertyTagValueNode::class, TemplateTagValueNode::class]; /** * @var string[] */ public const TYPE_AWARE_DOCTRINE_ANNOTATION_CLASSES = ['JMS\\Serializer\\Annotation\\Type', 'Doctrine\\ORM\\Mapping\\OneToMany', 'Symfony\\Component\\Validator\\Constraints\\Choice', 'Symfony\\Component\\Validator\\Constraints\\Email', 'Symfony\\Component\\Validator\\Constraints\\Range']; }
Save