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

                if ($this->checkHostRule(Directive::stripInline($rule))) {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

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

        return "/^(" . self::ALLOW . "|" . self::DISALLOW . "):+\s*\\{1}.*$/mui";
Severity: Minor
Found in source/Directive.php by phpcodesniffer

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

    use LogsIfAvailableTrait;

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

    public function getDirectiveName(): string {

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

        return Directive::DISALLOW;

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

            '{faulty}'    => $entry,

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

    }

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

        $newUserAgent = trim($parts[1]);

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

        }

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

            new CleanParamProcessor($logger),

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

        $filtered    = filter_var($hostName, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME);
Severity: Minor
Found in source/Parser/HostName.php by phpcodesniffer

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

     * @todo check for multibyte support?

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

            }

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

            $prevLine = $line;

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

     */
Severity: Minor
Found in source/Parser/Url.php by phpcodesniffer

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

            ':' => '!%3A!ui',
Severity: Minor
Found in source/Parser/Url.php by phpcodesniffer
Severity
Category
Status
Source
Language