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

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

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

     * @return string
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 (isset($this->tree[$userAgent][Directive::HOST]) && !empty($this->tree[$userAgent][Directive::HOST])) {
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

     * @param resource $out

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

            $consumed += $bucket->datalen;

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

            stream_bucket_append($out, $bucket);

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

            if (isset($this->params['logger']) && $this->params['logger'] instanceof LoggerInterface) {

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

                    $this->params['logger']->debug($skippedCrawlDelayValues . ' char(s) dropped as invalid Crawl-delay value.');

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

        return PSFS_PASS_ON;

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

    public function filter($in, $out, &$consumed, $closing) {

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 PSFS_PASS_ON;

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 const NAME = 'RTP_skip_unsupported_directives';

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

        return PSFS_PASS_ON;

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

     * @var string[]

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

            SkipEndOfCommentedLineFilter::class          => false,
Severity
Category
Status
Source
Language