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 3 locations

src/Manipulations.php 3 locations

@@ 56-67 (lines=12) @@
53
     *
54
     * @return $this
55
     */
56
    public function orientation(string $orientation)
57
    {
58
        if (! $this->validateManipulation($orientation, 'orientation')) {
59
            throw InvalidManipulation::invalidParameter(
60
                'orientation',
61
                $orientation,
62
                $this->getValidManipulationOptions('orientation')
63
            );
64
        }
65
66
        return $this->addManipulation('orientation', $orientation);
67
    }
68
69
    /**
70
     * @param string $cropMethod
@@ 347-358 (lines=12) @@
344
     *
345
     * @return $this
346
     */
347
    public function format(string $format)
348
    {
349
        if (! $this->validateManipulation($format, 'format')) {
350
            throw InvalidManipulation::invalidParameter(
351
                'format',
352
                $format,
353
                $this->getValidManipulationOptions('format')
354
            );
355
        }
356
357
        return $this->addManipulation('format', $format);
358
    }
359
360
    /**
361
     * @param string $filterName
@@ 365-376 (lines=12) @@
362
     *
363
     * @return $this
364
     */
365
    protected function filter(string $filterName)
366
    {
367
        if (! $this->validateManipulation($filterName, 'filter')) {
368
            throw InvalidManipulation::invalidParameter(
369
                'filter',
370
                $filterName,
371
                $this->getValidManipulationOptions('filter')
372
            );
373
        }
374
375
        return $this->addManipulation('filter', $filterName);
376
    }
377
378
    /**
379
     * @return $this