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.

Code Duplication    Length = 10-10 lines in 2 locations

src/Directive/InclusionDirective.php 1 location

@@ 107-116 (lines=10) @@
104
     *
105
     * @return string the dumped directive
106
     */
107
    public function dump(ServerInterface $server, $spaces = 0)
108
    {
109
        $value = $this->getValue() ? ' '.$this->getValue() : '';
110
111
        return str_repeat(' ', $spaces).sprintf(
112
            $server->getDumperSimpleDirective(),
113
            $this->getName(),
114
            $value
115
        ).PHP_EOL;
116
    }
117
}
118

src/Directive/SimpleDirective.php 1 location

@@ 57-66 (lines=10) @@
54
     *
55
     * @return string the dumped directive
56
     */
57
    public function dump(ServerInterface $server, $spaces = 0)
58
    {
59
        $value = $this->getValue() ? ' '.$this->getValue() : '';
60
61
        return str_repeat(' ', $spaces).sprintf(
62
            $server->getDumperSimpleDirective(),
63
            $this->getName(),
64
            $value
65
        ).PHP_EOL;
66
    }
67
}
68