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

tests/Parser/Elements/ElementStorageTest.php 2 locations

@@ 127-138 (lines=12) @@
124
    /**
125
     * @return FunctionReflectionInterface|PHPUnit_Framework_MockObject_MockObject
126
     */
127
    private function getFunctionReflectionMock()
128
    {
129
        $reflectionFunctionMock = $this->createMock(FunctionReflectionInterface::class);
130
        $reflectionFunctionMock->method('isDocumented')
131
            ->willReturn(true);
132
        $reflectionFunctionMock->method('getPseudoNamespaceName')
133
            ->willReturn('SomeNamespace');
134
        $reflectionFunctionMock->method('getShortName')
135
            ->willReturn('SomeShortClass');
136
137
        return $reflectionFunctionMock;
138
    }
139
140
    /**
141
     * @return ConstantReflectionInterface|PHPUnit_Framework_MockObject_MockObject
@@ 143-154 (lines=12) @@
140
    /**
141
     * @return ConstantReflectionInterface|PHPUnit_Framework_MockObject_MockObject
142
     */
143
    private function getConstantReflectionMock()
144
    {
145
        $constantReflectionMock = $this->createMock(ConstantReflectionInterface::class);
146
        $constantReflectionMock->method('isDocumented')
147
            ->willReturn(true);
148
        $constantReflectionMock->method('getPseudoNamespaceName')
149
            ->willReturn('SomeNamespace');
150
        $constantReflectionMock->method('getShortName')
151
            ->willReturn('SomeShortClass');
152
153
        return $constantReflectionMock;
154
    }
155
}
156