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

src/Service/JobRepository/BridgeFactory.php 2 locations

@@ 20-35 (lines=16) @@
17
18
class BridgeFactory
19
{
20
    public static function getChronosBridge(
21
        ApiClientInterface $apiClient,
22
        CacheInterface $cache,
23
        JobValidatorServiceInterface $jobEntityValidatorService,
24
        LoggerInterface $logger
25
    ) {
26
        if ($apiClient->ping()) {
27
            return new BridgeChronos(
28
                $apiClient,
29
                $cache,
30
                $jobEntityValidatorService,
31
                $logger
32
            );
33
        }
34
35
        return new DummyBridge($logger);
36
    }
37
38
    public static function getMarathonBridge(
@@ 38-53 (lines=16) @@
35
        return new DummyBridge($logger);
36
    }
37
38
    public static function getMarathonBridge(
39
        ApiClientInterface $apiClient,
40
        CacheInterface $cache,
41
        JobValidatorServiceInterface $jobEntityValidatorService,
42
        LoggerInterface $logger
43
    ) {
44
        if ($apiClient->ping()) {
45
            return new BridgeMarathon(
46
                $apiClient,
47
                $cache,
48
                $jobEntityValidatorService,
49
                $logger
50
            );
51
        }
52
53
        return new DummyBridge($logger);
54
    }
55
56