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

        $cleanParams                         = explode(' ', trim($parts[1]));

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

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

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

        return Directive::SITEMAP;

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

        if (!isset($root[$currentUserAgent][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

     */
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

     * @link https://yandex.com/support/webmaster/robot-workings/user-agent.html#user-agent
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

    const CACHE = 'cache';
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

    }

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

            ]));

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

        $this->logger = $logger;

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 (false === $filteredCrawlDelay) {

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

    }

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

        if (HostName::isValid($entry)) {

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

        $this->log(strtr('{directive} with value {faulty} dropped for {useragent} as invalid{ipAddress}', [
Severity
Category
Status
Source
Language