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

src/AtomicTempFileObject.php 2 locations

@@ 80-87 (lines=8) @@
77
78
    private function doPersist()
79
    {
80
        if (!@rename($this->getRealPath(), $this->destinationRealPath)) {
81
            // @codeCoverageIgnoreStart
82
            $lastError = error_get_last();
83
            throw new \RuntimeException(
84
                sprintf(
85
                    "Could not move %s to %s - message: %s",
86
                    $this->getRealPath(),
87
                    $this->destinationRealPath,
88
                    $lastError['message']
89
                )
90
            );
@@ 100-107 (lines=8) @@
97
98
    private function doDiscard()
99
    {
100
        if (!@unlink($this->getRealPath())) {
101
            // @codeCoverageIgnoreStart
102
            $lastError = error_get_last();
103
            throw new \RuntimeException(
104
                sprintf(
105
                    "Could not remove %s - message: %s",
106
                    $this->getRealPath(),
107
                    $lastError['message']
108
                )
109
            );
110
            // @codeCoverageIgnoreEnd