Passed
Push — master ( 37395a...ba940f )
by Nate
01:20 queued 11s
created

ExclusionCheck   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
dl 0
loc 7
ccs 1
cts 1
cp 1
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 2 1
1
<?php
2
/*
3
 * Copyright (c) Nate Brunette.
4
 * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5
 */
6
7
declare(strict_types=1);
8
9
namespace Tebru\Gson\Annotation;
10
11
use Tebru\AnnotationReader\AbstractAnnotation;
12
use Tebru\Gson\Exclusion\ExclusionStrategy;
13
14
/**
15
 * Class ExclusionCheck
16
 *
17
 * If the requireExclusionCheck setting is set on the builder, this annotation
18
 * will be required to run the [@see ExclusionStrategy]
19
 *
20
 * @author Nate Brunette <[email protected]>
21
 *
22
 * @Annotation
23
 * @Target({"CLASS", "PROPERTY"})
24
 */
25
class ExclusionCheck extends AbstractAnnotation
26
{
27
    /**
28
     * Initialize annotation data
29
     */
30 2
    protected function init(): void
31
    {
32
        // no value annotation
33 2
    }
34
}
35