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 = 8-9 lines in 2 locations

tests/Parser/Broker/BackendTest.php 1 location

@@ 92-100 (lines=9) @@
89
        );
90
    }
91
92
    private function getReflectionFactory(): ReflectionFactory
93
    {
94
        $parserStoragetMock = $this->createMock(ParserStorageInterface::class);
95
        $configurationMock = $this->createMock(ConfigurationInterface::class);
96
        $configurationMock->method('getVisibilityLevel')
97
            ->willReturn(1);
98
99
        return new ReflectionFactory($configurationMock, $parserStoragetMock);
100
    }
101
}
102

tests/Parser/Reflection/ReflectionFunctionTest.php 1 location

@@ 36-43 (lines=8) @@
33
        $this->assertTrue($this->reflectionFunction->isDocumented());
34
    }
35
36
    private function getReflectionFactory(): ReflectionFactoryInterface
37
    {
38
        $parserStorageMock = $this->createMock(ParserStorageInterface::class);
39
        $configurationMock = $this->createMock(ConfigurationInterface::class);
40
        $configurationMock->method('getVisibilityLevel')
41
            ->willReturn(ReflectionProperty::IS_PUBLIC);
42
        return new ReflectionFactory($configurationMock, $parserStorageMock);
43
    }
44
}
45