GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

SyntaxBuilder::setParameterValueDelimiter()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 1
1
<?php
2
namespace Thunder\Shortcode\Syntax;
3
4
/**
5
 * @author Tomasz Kowalczyk <[email protected]>
6
 */
7
final class SyntaxBuilder
8
{
9
    /** @var string|null */
10
    private $openingTag;
11
    /** @var string|null */
12
    private $closingTag;
13
    /** @var string|null */
14
    private $closingTagMarker;
15
    /** @var string|null */
16
    private $parameterValueSeparator;
17
    /** @var string|null */
18
    private $parameterValueDelimiter;
19
20 1
    public function __construct()
21
    {
22 1
    }
23
24
    /** @return Syntax */
25 1
    public function getSyntax()
26
    {
27 1
        return new Syntax(
28 1
            $this->openingTag,
29 1
            $this->closingTag,
30 1
            $this->closingTagMarker,
31 1
            $this->parameterValueSeparator,
32 1
            $this->parameterValueDelimiter
33 1
        );
34
    }
35
36
    /**
37
     * @param string $tag
38
     *
39
     * @return $this
40
     */
41 1
    public function setOpeningTag($tag)
42
    {
43 1
        $this->openingTag = $tag;
44
45 1
        return $this;
46
    }
47
48
    /**
49
     * @param string $tag
50
     *
51
     * @return $this
52
     */
53 1
    public function setClosingTag($tag)
54
    {
55 1
        $this->closingTag = $tag;
56
57 1
        return $this;
58
    }
59
60
    /**
61
     * @param string $marker
62
     *
63
     * @return $this
64
     */
65 1
    public function setClosingTagMarker($marker)
66
    {
67 1
        $this->closingTagMarker = $marker;
68
69 1
        return $this;
70
    }
71
72
    /**
73
     * @param string $separator
74
     *
75
     * @return $this
76
     */
77 1
    public function setParameterValueSeparator($separator)
78
    {
79 1
        $this->parameterValueSeparator = $separator;
80
81 1
        return $this;
82
    }
83
84
    /**
85
     * @param string $delimiter
86
     *
87
     * @return $this
88
     */
89 1
    public function setParameterValueDelimiter($delimiter)
90
    {
91 1
        $this->parameterValueDelimiter = $delimiter;
92
93 1
        return $this;
94
    }
95
}
96