diff --git a/src/RuleSet/Php74.php b/src/RuleSet/Php74.php index 5bfeaa95..4c46f814 100644 --- a/src/RuleSet/Php74.php +++ b/src/RuleSet/Php74.php @@ -323,6 +323,7 @@ final class Php74 extends AbstractRuleSet implements ExplicitRuleSet ], 'no_trailing_comma_in_list_call' => true, 'no_trailing_comma_in_singleline_array' => true, + 'no_trailing_comma_in_singleline_function_call' => false, 'no_trailing_whitespace' => true, 'no_trailing_whitespace_in_comment' => true, 'no_trailing_whitespace_in_string' => true, @@ -606,6 +607,7 @@ final class Php74 extends AbstractRuleSet implements ExplicitRuleSet ], 'single_import_per_statement' => true, 'single_line_after_imports' => true, + 'single_line_comment_spacing' => false, 'single_line_comment_style' => [ 'comment_types' => [ 'hash', diff --git a/src/RuleSet/Php80.php b/src/RuleSet/Php80.php index 709caea6..45dd30d3 100644 --- a/src/RuleSet/Php80.php +++ b/src/RuleSet/Php80.php @@ -323,6 +323,7 @@ final class Php80 extends AbstractRuleSet implements ExplicitRuleSet ], 'no_trailing_comma_in_list_call' => true, 'no_trailing_comma_in_singleline_array' => true, + 'no_trailing_comma_in_singleline_function_call' => false, 'no_trailing_whitespace' => true, 'no_trailing_whitespace_in_comment' => true, 'no_trailing_whitespace_in_string' => true, @@ -606,6 +607,7 @@ final class Php80 extends AbstractRuleSet implements ExplicitRuleSet ], 'single_import_per_statement' => true, 'single_line_after_imports' => true, + 'single_line_comment_spacing' => false, 'single_line_comment_style' => [ 'comment_types' => [ 'hash', diff --git a/src/RuleSet/Php81.php b/src/RuleSet/Php81.php index 9dbdb642..395ec789 100644 --- a/src/RuleSet/Php81.php +++ b/src/RuleSet/Php81.php @@ -323,6 +323,7 @@ final class Php81 extends AbstractRuleSet implements ExplicitRuleSet ], 'no_trailing_comma_in_list_call' => true, 'no_trailing_comma_in_singleline_array' => true, + 'no_trailing_comma_in_singleline_function_call' => false, 'no_trailing_whitespace' => true, 'no_trailing_whitespace_in_comment' => true, 'no_trailing_whitespace_in_string' => true, @@ -606,6 +607,7 @@ final class Php81 extends AbstractRuleSet implements ExplicitRuleSet ], 'single_import_per_statement' => true, 'single_line_after_imports' => true, + 'single_line_comment_spacing' => false, 'single_line_comment_style' => [ 'comment_types' => [ 'hash', diff --git a/test/Unit/RuleSet/Php74Test.php b/test/Unit/RuleSet/Php74Test.php index 0810307c..d8909ce3 100644 --- a/test/Unit/RuleSet/Php74Test.php +++ b/test/Unit/RuleSet/Php74Test.php @@ -329,6 +329,7 @@ final class Php74Test extends ExplicitRuleSetTestCase ], 'no_trailing_comma_in_list_call' => true, 'no_trailing_comma_in_singleline_array' => true, + 'no_trailing_comma_in_singleline_function_call' => false, 'no_trailing_whitespace' => true, 'no_trailing_whitespace_in_comment' => true, 'no_trailing_whitespace_in_string' => true, @@ -612,6 +613,7 @@ final class Php74Test extends ExplicitRuleSetTestCase ], 'single_import_per_statement' => true, 'single_line_after_imports' => true, + 'single_line_comment_spacing' => false, 'single_line_comment_style' => [ 'comment_types' => [ 'hash', diff --git a/test/Unit/RuleSet/Php80Test.php b/test/Unit/RuleSet/Php80Test.php index 76cde348..77e524d7 100644 --- a/test/Unit/RuleSet/Php80Test.php +++ b/test/Unit/RuleSet/Php80Test.php @@ -329,6 +329,7 @@ final class Php80Test extends ExplicitRuleSetTestCase ], 'no_trailing_comma_in_list_call' => true, 'no_trailing_comma_in_singleline_array' => true, + 'no_trailing_comma_in_singleline_function_call' => false, 'no_trailing_whitespace' => true, 'no_trailing_whitespace_in_comment' => true, 'no_trailing_whitespace_in_string' => true, @@ -612,6 +613,7 @@ final class Php80Test extends ExplicitRuleSetTestCase ], 'single_import_per_statement' => true, 'single_line_after_imports' => true, + 'single_line_comment_spacing' => false, 'single_line_comment_style' => [ 'comment_types' => [ 'hash', diff --git a/test/Unit/RuleSet/Php81Test.php b/test/Unit/RuleSet/Php81Test.php index 9792be84..0b14d971 100644 --- a/test/Unit/RuleSet/Php81Test.php +++ b/test/Unit/RuleSet/Php81Test.php @@ -329,6 +329,7 @@ final class Php81Test extends ExplicitRuleSetTestCase ], 'no_trailing_comma_in_list_call' => true, 'no_trailing_comma_in_singleline_array' => true, + 'no_trailing_comma_in_singleline_function_call' => false, 'no_trailing_whitespace' => true, 'no_trailing_whitespace_in_comment' => true, 'no_trailing_whitespace_in_string' => true, @@ -612,6 +613,7 @@ final class Php81Test extends ExplicitRuleSetTestCase ], 'single_import_per_statement' => true, 'single_line_after_imports' => true, + 'single_line_comment_spacing' => false, 'single_line_comment_style' => [ 'comment_types' => [ 'hash',