Showing 84 of 84 total issues
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
curl_setopt($curly[$id], CURLOPT_URL, $url);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
curl_multi_add_handle($mh, $curly[$id]);
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 5 Open
Open
public function validateIp($ipAddress)
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 9 Open
Open
if (filter_var($ipAddress, FILTER_VALIDATE_IP)) {
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Closing brace indented incorrectly; expected 4 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 1 Open
Open
class WeatherIp implements ContainerInjectableInterface
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 1 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$mh = curl_multi_init();
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
if (!empty($d['post'])) {
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (!empty($options)) {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
curl_setopt($curly[$id], CURLOPT_HEADER, 0);
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
curl_setopt($curly[$id], CURLOPT_POST, 1);
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
curl_setopt($curly[$id], CURLOPT_POSTFIELDS, $d['post']);
- Exclude checks
Usage of ELSE IF is discouraged; use ELSEIF instead Open
Open
} else if (defined("ANAX_PRODUCTION")) {
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
curl_setopt_array($curly[$id], $options);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$url = (is_array($d) && !empty($d['url'])) ? $d['url'] : $d;
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 12 Open
Open
foreach ($weather as $key => $value) {
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$result = array();
- Exclude checks