Showing 1,364 of 1,364 total issues
Spaces must be used to indent lines; tabs are not allowed Open
Open
return $hostName === filter_var($hostName, FILTER_VALIDATE_IP);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if (empty($processors)) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
// reformat processors
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->processors[$directive]->process($line, $tree, $userAgent, $prevLine);
- 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 \Iterator $content
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$tree = [];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$reserved = [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'#' => '!%23!ui',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'[' => '!%5B!ui',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public static function isValidScheme(string $scheme): bool {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if ($parsed === false) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->log("URL scheme invalid or missing for {$url}");
- 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
public function getMatching(string $userAgent, array $available = []): string {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->log("Matched {$userAgentMatch} for user agent {$userAgent}");
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->reader->setEncoding($this->encoding);
- Exclude checks