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 (is_null($this->userAgentMatcher)) {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

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

    private function buildTree() {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

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

                $this->logger
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

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

                return false;
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

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

                        return false;
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

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

        }
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

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

        // check for disallowed http status code
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

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

                }
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

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

        }
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

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

        return $result;
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

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

        return false;
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

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

    const VISIT_TIME = 'visit-time';
Severity: Minor
Found in source/Directive.php by phpcodesniffer

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

        return [
Severity: Minor
Found in source/Directive.php by phpcodesniffer

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

            self::ALLOW,
Severity: Minor
Found in source/Directive.php by phpcodesniffer

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

            if (0 === strpos(mb_strtolower($rule), $directive . ':')) {
Severity: Minor
Found in source/Directive.php by phpcodesniffer

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

                return $directive;
Severity: Minor
Found in source/Directive.php by phpcodesniffer

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

            $this->logger->log($level, $message, $context);

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

        }

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

                '{directive}' => Directive::CACHE_DELAY,
Severity
Category
Status
Source
Language