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

src/jwe/impl/JWE.php 2 locations

@@ 319-323 (lines=5) @@
316
         * sequence representing the compressed plaintext; otherwise, let M
317
         * be the octet sequence representing the plaintext.
318
         */
319
        if(!is_null($zip))
320
        {
321
            $compression__algorithm = CompressionAlgorithms_Registry::getInstance()->get($zip->getValue());
322
            $payload  = $compression__algorithm->compress($payload);
323
        }
324
325
        /**
326
         * Encrypt M using the CEK, the JWE Initialization Vector, and the
@@ 489-493 (lines=5) @@
486
         * If a "zip" parameter was included, uncompress the decrypted
487
         * plaintext using the specified compression algorithm.
488
         */
489
        if(!is_null($zip))
490
        {
491
            $compression__algorithm = CompressionAlgorithms_Registry::getInstance()->get($zip->getValue());
492
            $plain_text = $compression__algorithm->uncompress($plain_text);
493
        }
494
495
        $this->setPayload(JWSPayloadFactory::build($plain_text));
496
        $this->should_decrypt = false;