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

     *   the length of the data which your filter reads in and alters. In most cases

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

     *   If the stream is in the process of closing (and therefore this is the last pass

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

     * @return static

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

            $bucket->data = preg_replace('/^#.*/mui', '', $bucket->data, -1, $replacedCount);

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

                    $this->params['logger']->debug($skippedRequestRateValues . ' char(s) dropped as invalid Request-rate value.');

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

        while ($bucket = stream_bucket_make_writeable($in)) {

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

                PHP_EOL,

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

            if ($replacedCount > 0

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

            stream_bucket_append($out, $bucket);

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

            $replacedCount = 0;

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

    }

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

            SkipCommentedLinesFilter::class              => false,

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

            SkipDirectivesWithInvalidValuesFilter::class => false,

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

                    'message' => $throwable->getMessage(),

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

    private static function isValidScheme($scheme) {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

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

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