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

backend/protected/modules/product/modules/import/components/ImageWriter.php 2 locations

@@ 207-209 (lines=3) @@
204
    {
205
      switch( $this->actionWithExistingRecord )
206
      {
207
        case self::DB_ACTION_EXISTING_RECORD_SKIP_WITH_WARNING:
208
          throw new WarningException('Запись c name = '.$fileName.' и parent = '.$record['parent'].' существует (id = '.$record['id'].')');
209
          break;
210
211
        case self::DB_ACTION_EXISTING_RECORD_SKIP_SILENT:
212
          throw new SilentException('Запись c name = '.$fileName.' и parent = '.$record['parent'].' существует (id = '.$record['id'].')');
@@ 211-213 (lines=3) @@
208
          throw new WarningException('Запись c name = '.$fileName.' и parent = '.$record['parent'].' существует (id = '.$record['id'].')');
209
          break;
210
211
        case self::DB_ACTION_EXISTING_RECORD_SKIP_SILENT:
212
          throw new SilentException('Запись c name = '.$fileName.' и parent = '.$record['parent'].' существует (id = '.$record['id'].')');
213
          break;
214
215
        /*        case self::DB_ACTION_EXISTING_RECORD_REPLACE:
216
          //to-do: Стерать все записи продукта и файлы, и записать новые