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

src/Processor/Processor.php 2 locations

@@ 176-187 (lines=12) @@
173
     *
174
     * @return self
175
     */
176
    public function withRecursionDepth($depth)
177
    {
178
        if (null !== $depth && !(is_int($depth) && $depth >= 0)) {
179
            $msg = 'Recursion depth must be null (infinite) or integer >= 0!';
180
            throw new \InvalidArgumentException($msg);
181
        }
182
183
        $self = clone $this;
184
        $self->recursionDepth = $depth;
185
186
        return $self;
187
    }
188
189
    /**
190
     * Maximum number of iterations, null means infinite, any integer greater
@@ 199-210 (lines=12) @@
196
     *
197
     * @return self
198
     */
199
    public function withMaxIterations($iterations)
200
    {
201
        if (null !== $iterations && !(is_int($iterations) && $iterations > 0)) {
202
            $msg = 'Maximum number of iterations must be null (infinite) or integer > 0!';
203
            throw new \InvalidArgumentException($msg);
204
        }
205
206
        $self = clone $this;
207
        $self->maxIterations = $iterations;
208
209
        return $self;
210
    }
211
212
    /**
213
     * Whether shortcode content will be automatically processed and handler