Skip to content

Commit 25d2dc1

Browse files
authored
Enhancement: Enable no_spaces_after_function_name fixer (#883)
1 parent 7406060 commit 25d2dc1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.php-cs-fixer.php

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
'no_extra_blank_lines' => true,
4444
'no_mixed_echo_print' => true,
4545
'no_singleline_whitespace_before_semicolons' => true,
46+
'no_spaces_after_function_name' => true,
4647
'no_superfluous_elseif' => true,
4748
'no_trailing_whitespace' => true,
4849
'ordered_class_elements' => true,

include/ip-to-country.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ function i2c_realip()
202202
if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
203203

204204
// Put the IP's into an array which we shall work with shortly.
205-
$ips = explode (", ", $_SERVER['HTTP_X_FORWARDED_FOR']);
205+
$ips = explode(", ", $_SERVER['HTTP_X_FORWARDED_FOR']);
206206
if ($ip) { array_unshift($ips, $ip); $ip = false; }
207207

208208
for ($i = 0; $i < count($ips); $i++) {

0 commit comments

Comments
 (0)