Code Duplication    Length = 4-4 lines in 2 locations

src/Code.php 1 location

@@ 195-198 (lines=4) @@
192
        $path = normalizepath(realpath($path));
193
194
        // Если мы уже подключили данный файл или он не существует
195
        if( isset( $this->files[ $path ])  ) 	return $this->log('    ! Файл: [##], already compressed', $path);
196
        else if( !is_file($path) )				return $this->log('    ! Файл: [##], не существует', $_path );
197
        else if(strpos($path, 'vendor/autoload.php') !== false) return $this->log('    Ignoring composer autoloader [##]', $path);
198
        else if(in_array(basename($path), $this->ignoredFiles)) { return $this->log('    Ignoring file[##] by configuration', $path);}
199
200
        $this->log(' - Parsing file [##]', $path);
201

src/Compressor.php 1 location

@@ 669-672 (lines=4) @@
666
        $path = normalizepath(realpath($path));
667
668
        // Если мы уже подключили данный файл или он не существует
669
        if (isset($this->files[$path])) return $this->log('    ! Файл: [##], already compressed', $path);
670
        else if (!is_file($path)) return $this->log('    ! Файл: [##], не существует', $_path);
671
        else if (strpos($path, 'vendor/autoload.php') !== false) return $this->log('    Ignoring composer autoloader [##]', $path);
672
        else if (in_array(basename($path), $this->ignoredFiles)) {
673
            return $this->log('    Ignoring file[##] by configuration', $path);
674
        }
675