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

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

            TrimSpacesLeftFilter::class                  => false,

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

            $skippedRequestRateValues = 0;

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

            SkipUnsupportedDirectivesFilter::class       => false,

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

            $skippedCrawlDelayValues = 0;

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

                $this->log('Failed to remove filter "{class}": {message}', [

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

            $skippedAllowanceValues = 0;

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

                    $this->params['logger']->debug($skippedAllowanceValues . ' char(s) dropped as invalid allow/disallow value.');

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

                $bucket->data, -1,

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

                && $this->params['logger'] instanceof LoggerInterface

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

    public const NAME = 'RTP_skip_end_of_commented_line';

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

                && isset($this->params['logger'])

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

                && $this->params['logger'] instanceof LoggerInterface

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

    public $filtername = self::NAME;

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

    private array $filters;

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

        /** @note order matters */

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

            SkipEmptyLinesFilter::class                  => false,

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

                break;
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer
Severity
Category
Status
Source
Language