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

tests/Ogone/Tests/OgoneTest.php 2 locations

@@ 92-102 (lines=11) @@
89
    /**
90
     * @test
91
     */
92
    public function AliasIsCreatedByOgone()
93
    {
94
        $passphraseOut = new Passphrase(PASSPHRASE_SHA_OUT);
95
        $shaOutComposer = new AllParametersShaComposer($passphraseOut);
96
        $shaOutComposer->addParameterFilter(new ShaOutParameterFilter());
97
98
        $createAliasResponse = $this->provideAliasResponse(false);
99
100
        $this->assertTrue($createAliasResponse->isValid($shaOutComposer));
101
        $this->assertTrue($createAliasResponse->isSuccessful());
102
    }
103
104
    /**
105
     * @test
@@ 107-117 (lines=11) @@
104
    /**
105
     * @test
106
     */
107
    public function CreateAliasInvalid()
108
    {
109
        $passphraseOut = new Passphrase(PASSPHRASE_SHA_OUT);
110
        $shaOutComposer = new AllParametersShaComposer($passphraseOut);
111
        $shaOutComposer->addParameterFilter(new ShaOutParameterFilter());
112
113
        $createAliasResponse = $this->provideAliasResponse(true, true);
114
115
        $this->assertTrue($createAliasResponse->isValid($shaOutComposer));
116
        $this->assertFalse($createAliasResponse->isSuccessful());
117
    }
118
119
120
    public function provideAliasResponse($createAlias = true, $noValidCardnumber = false)