Failed Conditions
Pull Request — new-parser-ast-metadata (#3)
by
unknown
06:33 queued 04:54
created

AnnotationWithConstructorMetadata   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A get() 0 7 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\Tests\Annotations\Fixtures\Metadata;
6
7
use Doctrine\Annotations\Metadata\AnnotationMetadata;
8
use Doctrine\Annotations\Metadata\AnnotationTarget;
9
use Doctrine\Tests\Annotations\Fixtures\AnnotationWithConstructor;
10
11
final class AnnotationWithConstructorMetadata
12
{
13
    public static function get(): AnnotationMetadata
14
    {
15
        return new AnnotationMetadata(
16
            AnnotationWithConstructor::class,
17
            new AnnotationTarget(AnnotationTarget::TARGET_ALL),
18
            true,
19
            []
20
        );
21
    }
22
}
23