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

src/Logger/Entry/LogEntry.php 1 location

@@ 148-153 (lines=6) @@
145
    public function setLevel(
146
        /*# string */ $level = PsrLogLevel::INFO
147
    ) {
148
        if (!isset(LogLevel::$levels[$level])) {
149
            throw new InvalidArgumentException(
150
                Message::get(Message::LOG_LEVEL_INVALID, $level),
151
                Message::LOG_LEVEL_INVALID
152
            );
153
        }
154
        $this->level = $level;
155
        return $this;
156
    }

src/Logger/Logger.php 1 location

@@ 120-125 (lines=6) @@
117
        /*# int */ $priority = 0
118
    ) {
119
        // check level
120
        if (!isset(LogLevel::$levels[$level])) {
121
            throw new InvalidArgumentException(
122
                Message::get(Message::LOG_LEVEL_INVALID, $level),
123
                Message::LOG_LEVEL_INVALID
124
            );
125
        }
126
127
        return $this->addCallable(
128
            'handlers',