diff --git a/src/RuleSet/Php74.php b/src/RuleSet/Php74.php index 11005a47..b1e45a30 100644 --- a/src/RuleSet/Php74.php +++ b/src/RuleSet/Php74.php @@ -284,7 +284,9 @@ final class Php74 extends AbstractRuleSet implements ExplicitRuleSet ], ], 'no_alias_language_construct_call' => true, - 'no_alternative_syntax' => true, + 'no_alternative_syntax' => [ + 'fix_non_monolithic_code' => false, + ], 'no_binary_string' => true, 'no_blank_lines_after_class_opening' => true, 'no_blank_lines_after_phpdoc' => true, diff --git a/src/RuleSet/Php80.php b/src/RuleSet/Php80.php index a69d24d5..658b47de 100644 --- a/src/RuleSet/Php80.php +++ b/src/RuleSet/Php80.php @@ -284,7 +284,9 @@ final class Php80 extends AbstractRuleSet implements ExplicitRuleSet ], ], 'no_alias_language_construct_call' => true, - 'no_alternative_syntax' => true, + 'no_alternative_syntax' => [ + 'fix_non_monolithic_code' => false, + ], 'no_binary_string' => true, 'no_blank_lines_after_class_opening' => true, 'no_blank_lines_after_phpdoc' => true, diff --git a/src/RuleSet/Php81.php b/src/RuleSet/Php81.php index cf26eaf6..e71eb73c 100644 --- a/src/RuleSet/Php81.php +++ b/src/RuleSet/Php81.php @@ -284,7 +284,9 @@ final class Php81 extends AbstractRuleSet implements ExplicitRuleSet ], ], 'no_alias_language_construct_call' => true, - 'no_alternative_syntax' => true, + 'no_alternative_syntax' => [ + 'fix_non_monolithic_code' => false, + ], 'no_binary_string' => true, 'no_blank_lines_after_class_opening' => true, 'no_blank_lines_after_phpdoc' => true, diff --git a/test/Unit/RuleSet/Php74Test.php b/test/Unit/RuleSet/Php74Test.php index 71215e0c..81d2fa27 100644 --- a/test/Unit/RuleSet/Php74Test.php +++ b/test/Unit/RuleSet/Php74Test.php @@ -290,7 +290,9 @@ final class Php74Test extends ExplicitRuleSetTestCase ], ], 'no_alias_language_construct_call' => true, - 'no_alternative_syntax' => true, + 'no_alternative_syntax' => [ + 'fix_non_monolithic_code' => false, + ], 'no_binary_string' => true, 'no_blank_lines_after_class_opening' => true, 'no_blank_lines_after_phpdoc' => true, diff --git a/test/Unit/RuleSet/Php80Test.php b/test/Unit/RuleSet/Php80Test.php index 77a60015..5fda8fd5 100644 --- a/test/Unit/RuleSet/Php80Test.php +++ b/test/Unit/RuleSet/Php80Test.php @@ -290,7 +290,9 @@ final class Php80Test extends ExplicitRuleSetTestCase ], ], 'no_alias_language_construct_call' => true, - 'no_alternative_syntax' => true, + 'no_alternative_syntax' => [ + 'fix_non_monolithic_code' => false, + ], 'no_binary_string' => true, 'no_blank_lines_after_class_opening' => true, 'no_blank_lines_after_phpdoc' => true, diff --git a/test/Unit/RuleSet/Php81Test.php b/test/Unit/RuleSet/Php81Test.php index 8456e473..e0feb417 100644 --- a/test/Unit/RuleSet/Php81Test.php +++ b/test/Unit/RuleSet/Php81Test.php @@ -290,7 +290,9 @@ final class Php81Test extends ExplicitRuleSetTestCase ], ], 'no_alias_language_construct_call' => true, - 'no_alternative_syntax' => true, + 'no_alternative_syntax' => [ + 'fix_non_monolithic_code' => false, + ], 'no_binary_string' => true, 'no_blank_lines_after_class_opening' => true, 'no_blank_lines_after_phpdoc' => true,