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

    public function __construct(
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

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

        $content,
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

        if (is_null($this->treeBuilder)) {
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

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

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

    const DISALLOW = 'disallow';
Severity: Minor
Found in source/Directive.php by phpcodesniffer

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

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

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

            $this->log(strtr('{directive} with invalid value "{faulty}" found for {useragent}, skipping', [

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 getLogger(): ?LoggerInterface {

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

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

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

        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

    /**

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

        if (!isset($this->processors[$directive])) {

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

                        $processor->getDirectiveName(),
Severity
Category
Status
Source
Language