Showing 1,364 of 1,364 total issues
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
return "/^(?!(" . implode('|', Directive::getAll()) . ")\s*:+).+/mui";
- 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
return false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$directive = static::attemptGetInline($rule);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
private ?LoggerInterface $logger = null;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if (empty($entry)) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'{directive}' => $directive,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return Directive::CLEAN_PARAM;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$filteredCrawlDelay = filter_var($entry, FILTER_VALIDATE_FLOAT, FILTER_FLAG_ALLOW_FRACTION);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$root[$currentUserAgent][Directive::CRAWL_DELAY] = $filteredCrawlDelay;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$trimmed = array_map('trim', $parts);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'{useragent}' => $currentUserAgent,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if (!in_array($entry, $root[$currentUserAgent][Directive::SITEMAP])) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->log(strtr('{directive} with value {faulty} skipped as already exists for {useragent}', [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public static function isIpAddress(string $hostName): bool {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
use LogsIfAvailableTrait;
- 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
$this->log('Building directives tree...');
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks