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
$this->log("URL host invalid or missing for {$url}");
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->log('Creating a default tree builder as none passed...');
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
DirectiveProcessorsFactory::getDefault($this->logger),
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->treeBuilder->setContent($this->reader->getContentIterated());
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function getLogger(): ?LoggerInterface {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return HostName::isValid($host);
- 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
if (!isset($parsed['port'])) {
- 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 bool
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function isAllowed(string $url, ?string $userAgent = '*'): bool {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @deprecated please check rules for exact user agent instead
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @param string $path - path to check
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @return bool
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$result = ($rule === Directive::ALLOW);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->log("Disallowed by HTTP status code {$this->httpStatusCode}");
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return true;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
const HOST = 'host';
- Exclude checks