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

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

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 ($skippedCrawlDelayValues > 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

                '/(^[\r\n]*|[\r\n]+)[\s\t]*[\r\n]+/mui',

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

    }

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

                $this->params['logger']->debug($replacedCount . ' char(s) dropped as commented out');

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

        }

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

     * @link https://www.php.net/manual/en/function.stream-filter-append.php#84637

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

                }

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

            try {

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

        $stream = tmpfile();

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

    }

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

            $error = sprintf('Argument must be a valid resource type. %s given.', gettype($stream));

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

    protected function setStream($stream): GeneratorBasedReader {

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

            stream_filter_register($filterClass::NAME, $filterClass);
Severity
Category
Status
Source
Language