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

tests/Ogone/Tests/ShaComposer/LegacyShaComposerTest.php 4 locations

@@ 27-33 (lines=7) @@
24
    const SHA512STRING = '8552200DD108CB5633A27D6D0A1FAB54378CB2385BFCEB27487992D16F5A7565E5DD4D38C0F2DB294213CD02E434F311021749E6DAB187357F786E3F199781CA';
25
26
    /** @test */
27
    public function defaultParameters()
28
    {
29
        $aRequest = $this->provideRequest();
30
        $composer = new LegacyShaComposer(new Passphrase(self::PASSPHRASE));
31
        $shaString = $composer->compose($aRequest);
32
        $this->assertEquals(self::SHA1STRING, $shaString);
33
    }
34
35
    /** @test */
36
    public function Sha1StringCanBeComposed()
@@ 36-44 (lines=9) @@
33
    }
34
35
    /** @test */
36
    public function Sha1StringCanBeComposed()
37
    {
38
        $aRequest = $this->provideRequest();
39
40
        $composer = new LegacyShaComposer(new Passphrase(self::PASSPHRASE), new HashAlgorithm(HashAlgorithm::HASH_SHA1));
41
        $shaString = $composer->compose($aRequest);
42
43
        $this->assertEquals(self::SHA1STRING, $shaString);
44
    }
45
46
    /** @test */
47
    public function Sha256StringCanBeComposed()
@@ 47-55 (lines=9) @@
44
    }
45
46
    /** @test */
47
    public function Sha256StringCanBeComposed()
48
    {
49
        $aRequest = $this->provideRequest();
50
51
        $composer = new LegacyShaComposer(new Passphrase(self::PASSPHRASE), new HashAlgorithm(HashAlgorithm::HASH_SHA256));
52
        $shaString = $composer->compose($aRequest);
53
54
        $this->assertEquals(self::SHA256STRING, $shaString);
55
    }
56
57
    /** @test */
58
    public function Sha512StringCanBeComposed()
@@ 58-66 (lines=9) @@
55
    }
56
57
    /** @test */
58
    public function Sha512StringCanBeComposed()
59
    {
60
        $aRequest = $this->provideRequest();
61
62
        $composer = new LegacyShaComposer(new Passphrase(self::PASSPHRASE), new HashAlgorithm(HashAlgorithm::HASH_SHA512));
63
        $shaString = $composer->compose($aRequest);
64
65
        $this->assertEquals(self::SHA512STRING, $shaString);
66
    }
67
68
    private function provideRequest()
69
    {