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

application/modules/shop/components/yml/Yml.php 2 locations

@@ 325-328 (lines=4) @@
322
        if (true === empty($name)) {
323
            return null;
324
        }
325
        if (mb_strlen($name) > 120) {
326
            $name = mb_substr($name, 0, 120);
327
            $name = mb_substr($name, 0, mb_strrpos($name, ' '));
328
        }
329
        $values[] = new OfferTag('name', htmlspecialchars(trim(strip_tags($name))));
330
        $values[] = new OfferTag('price', $price);
331
        $values[] = new OfferTag('currencyId', $this->currency->iso_code);
@@ 353-356 (lines=4) @@
350
351
        $description = static::getOfferValue($config, 'offer_description', $model, null);
352
        if (false === empty($description)) {
353
            if (mb_strlen($description) > 175) {
354
                $description = mb_substr($description, 0, 175);
355
                $description = mb_substr($description, 0, mb_strrpos($description, ' '));
356
            }
357
            $values[] = new OfferTag('description', htmlspecialchars(trim(strip_tags($description))));
358
        }
359