t1gor/Robots.txt-Parser-Class

View on GitHub

Showing 1,364 of 1,364 total issues

Define a constant instead of duplicating this literal "logger" 3 times.
Open

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

Define a constant instead of duplicating this literal "logger" 3 times.
Open

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

Remove this commented out code.
Open

// $bucket->data = preg_replace(Directive::getAllowDisallowRegex(), '', $bucket->data, -1, $skippedAllowanceValues);

Define a constant instead of duplicating this literal "{useragent}" 3 times.
Open

'{useragent}' => $currentUserAgent,
Severity
Category
Status
Source
Language