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

src/jws/impl/JWS.php 2 locations

@@ 140-141 (lines=2) @@
137
        if(is_null($this->jwk))
138
            throw new JWSInvalidJWKException;
139
140
        if($this->jwk->getKeyUse()->getString() !== JSONWebKeyPublicKeyUseValues::Signature)
141
            throw new JWSInvalidJWKException(sprintf('use %s not supported.', $this->jwk->getKeyUse()->getString()));
142
143
        $alg = DigitalSignatures_MACs_Registry::getInstance()->get($this->header->getAlgorithm()->getString());
144
@@ 240-248 (lines=9) @@
237
        if(is_null($this->jwk))
238
            throw new JWSInvalidJWKException;
239
240
        if($this->jwk->getKeyUse()->getString() !== JSONWebKeyPublicKeyUseValues::Signature)
241
            throw new JWSInvalidJWKException
242
            (
243
                sprintf
244
                (
245
                    'use %s not supported ',
246
                    $this->jwk->getKeyUse()->getString()
247
                )
248
            );
249
250
        if(is_null($this->jwk->getAlgorithm()))
251
            throw new InvalidJWKAlgorithm('algorithm intended for use with the key is not set! ');