Showing 1,364 of 1,364 total issues
Spaces must be used to indent lines; tabs are not allowed Open
Open
private function checkCleanParamRule($rule, $path) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if (!strpos($path, "?$param=")
- 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
// change @ to \@
- 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
$escape = ['$' => '\$', '?' => '\?', '.' => '\.', '*' => '.*', '[' => '\[', ']' => '\]'];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
// Not multibyte
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Check Host rule
- 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
if ($this->checkCleanParamRule(Directive::stripInline($rule), $path)) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if (!is_null($userAgent)) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$output[] = $directive . ': ' . $value;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if (isset($userAgentBased[Directive::SITEMAP]) && !empty($userAgentBased[Directive::SITEMAP])) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
// check if path prefix matches the path of the url we're checking
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$sitemaps = $this->getSitemaps();
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* objects containing data to be filtered.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->log('Rule match: ' . Directive::CLEAN_PARAM . ' directive');
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @note NULL is returned to public API compatibility reasons. Will be removed in the future.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* buckets should be placed.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$value = str_replace(array_keys($escape), array_values($escape), $value);
- Exclude checks