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 = 12-13 lines in 2 locations

tests/Templating/Twig/Extension/NetgenOpenGraphRuntimeTest.php 2 locations

@@ 96-107 (lines=12) @@
93
        $this->runtime->getOpenGraphTags(new Content());
94
    }
95
96
    public function testGetOpenGraphTagsWithLoggedException()
97
    {
98
        $this->collector->expects($this->once())
99
            ->method('collect')
100
            ->willThrowException(new \Exception());
101
102
        $this->logger->expects($this->once())
103
            ->method('error');
104
105
        $this->runtime->setThrowExceptions(false);
106
        $this->runtime->getOpenGraphTags(new Content());
107
    }
108
109
    public function testRenderOpenGraphTags()
110
    {
@@ 133-145 (lines=13) @@
130
    /**
131
     * @expectedException \Exception
132
     */
133
    public function testRenderOpenGraphTagsWithThrowedException()
134
    {
135
        $this->collector->expects($this->once())
136
            ->method('collect')
137
            ->willReturn(array());
138
139
        $this->renderer->expects($this->once())
140
            ->method('render')
141
            ->willThrowException(new \Exception());
142
143
        $this->runtime->setThrowExceptions(true);
144
        $this->runtime->renderOpenGraphTags(new Content());
145
    }
146
147
    public function testRenderOpenGraphTagsWithLoggedException()
148
    {