Skip to content

Commit

Permalink
Enhancement: Enable no_spaces_after_function_name fixer (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz authored Dec 7, 2023
1 parent 7406060 commit 25d2dc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
'no_extra_blank_lines' => true,
'no_mixed_echo_print' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_spaces_after_function_name' => true,
'no_superfluous_elseif' => true,
'no_trailing_whitespace' => true,
'ordered_class_elements' => true,
Expand Down
2 changes: 1 addition & 1 deletion include/ip-to-country.inc
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ function i2c_realip()
if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {

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

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

0 comments on commit 25d2dc1

Please sign in to comment.