Skip to content

Commit faf2e75

Browse files
authored
Enhancement: Enable no_singleline_whitespace_before_semicolons fixer (#882)
1 parent 00342c4 commit faf2e75

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.php-cs-fixer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
'new_with_parentheses' => true,
4242
'no_extra_blank_lines' => true,
4343
'no_mixed_echo_print' => true,
44+
'no_singleline_whitespace_before_semicolons' => true,
4445
'no_trailing_whitespace' => true,
4546
'ordered_class_elements' => true,
4647
'random_api_migration' => true,

include/errors.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ function get_legacy_manual_urls(string $uri): array
582582
if (count($matches) < 2) {
583583
return '';
584584
}
585-
return $matches[1] ;
585+
return $matches[1];
586586
}, $uri);
587587

588588
if (!isset($pages_ids[$page_id])) {

0 commit comments

Comments
 (0)