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

        } else {

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

    }

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

    public function process(string $line, array & $root, string & $currentUserAgent = '*', string $prevLine = '') {

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

            $this->log('{directive} with value {faulty} dropped as invalid', [

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

    public function process(string $line, array & $root, string & $currentUserAgent = '*', string $prevLine = '') {

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

                '{useragent}' => $currentUserAgent

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

            return;

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

        $parts = explode(':', $line);

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

            return;

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

        }

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

    public function getDirectiveName(): string {

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

    }

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

                '{directive}' => Directive::SITEMAP,

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

        }

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

                '{directive}' => $directive,

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

    public function getContent(): \Iterator {

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

        return $this->content;

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

        $this->in = $this->encode(trim($in));
Severity: Minor
Found in source/Parser/Url.php by phpcodesniffer

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

            '(' => '!%28!ui',
Severity: Minor
Found in source/Parser/Url.php by phpcodesniffer

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

     *
Severity: Minor
Found in source/Parser/Url.php by phpcodesniffer
Severity
Category
Status
Source
Language