t1gor/Robots.txt-Parser-Class

View on GitHub

Showing 1,364 of 1,364 total issues

Spaces must be used to indent lines; tabs are not allowed
Open

    const INLINED_HOST = 'Inline host directive detected. URL not set, result may be inaccurate.';
Severity: Minor
Found in source/WarmingMessages.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            $filter = stream_filter_append(

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

            $line = fgets($this->stream);

Spaces must be used to indent lines; tabs are not allowed
Open

    public function getContentRaw(): string;

Spaces must be used to indent lines; tabs are not allowed
Open

                $filterClass::NAME,

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this;

Spaces must be used to indent lines; tabs are not allowed
Open

        rewind($this->stream);

Spaces must be used to indent lines; tabs are not allowed
Open

            }

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

    const ENCODING_NOT_UTF8 = 'Encoding you are passing is different from UTF-8. '
Severity: Minor
Found in source/WarmingMessages.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        rewind($this->stream);

Spaces must be used to indent lines; tabs are not allowed
Open

        . 'Google might be ignoring some parts of the file.'
Severity: Minor
Found in source/WarmingMessages.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    const SET_UA_DEPRECATED = 'Deprecated. Please check rules for exact user agent instead';
Severity: Minor
Found in source/WarmingMessages.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'class'   => $class,

Spaces must be used to indent lines; tabs are not allowed
Open

        $this->log(WarmingMessages::ENCODING_NOT_UTF8, [], LogLevel::WARNING);

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

            } catch (\Throwable $throwable) {

Spaces must be used to indent lines; tabs are not allowed
Open

            fclose($this->stream);
Severity
Category
Status
Source
Language