Showing 1,364 of 1,364 total issues
Spaces must be used to indent lines; tabs are not allowed Open
Open
return false;
- 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
$param = explode('&', $array[0]);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return $cleanParam;
- 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 ALLOW = 'allow';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
const CRAWL_DELAY = 'crawl-delay';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
self::CRAWL_DELAY,
- 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
public static function getCrawlDelayRegex(): 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
public function process(string $line, array &$root, string &$currentUserAgent = '*', string $prevLine = '') {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return (bool) preg_match('/^' . $this->getDirectiveName() . '\s*:\s+/isu', $line);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return Directive::CACHE_DELAY;
- 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
public function getDirectiveName(): string {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return Directive::HOST;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
} else {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function getDirectiveName(): string {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if (empty($root) && $newUserAgent === '*') {
- Exclude checks