Showing 1,364 of 1,364 total issues
Spaces must be used to indent lines; tabs are not allowed Open
Open
new AllowProcessor($logger),
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
protected array $processors;
- Exclude checks
Line exceeds 120 characters; contains 125 characters Open
Open
protected function processDirective(string $directive, string $line, &$tree, string &$userAgent, string $prevLine = '') {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$currentUserAgent = '*';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$prevLine = '';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$currentUserAgent,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
')' => '!%29!ui',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'*' => '!%2A!ui',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->log("Failed to parse URL from {$url}");
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if ($userAgent === '*') {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if ($this->reader instanceof LoggerAwareInterface) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->reader->setLogger($this->logger);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
const USERAGENT = 'user-agent';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
const CLEAN_PARAM = 'clean-param';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public static function getRequestRateRegex(): string {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public static function getAllowDisallowRegex(): string {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
]));
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$root[$currentUserAgent][$directive] = [];
- Exclude checks