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

ExclusionCheck::init()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
nc 1
nop 0
dl 0
loc 2
ccs 1
cts 1
cp 1
crap 1
rs 10
c 1
b 0
f 0
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