1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Enhancement: Enable no_singleline_whitespace_before_semicolons fixer (#882)

This commit is contained in:
Andreas Möller
2023-12-07 15:08:15 +01:00
committed by GitHub
parent 00342c402f
commit faf2e75920
2 changed files with 2 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ $config
'new_with_parentheses' => true,
'no_extra_blank_lines' => true,
'no_mixed_echo_print' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_trailing_whitespace' => true,
'ordered_class_elements' => true,
'random_api_migration' => true,

View File

@@ -582,7 +582,7 @@ function get_legacy_manual_urls(string $uri): array
if (count($matches) < 2) {
return '';
}
return $matches[1] ;
return $matches[1];
}, $uri);
if (!isset($pages_ids[$page_id])) {