From dde30fa12d542ef73786eea6bcadf4fd3a85100f Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Wed, 6 Oct 2021 14:19:51 +0800 Subject: [PATCH] Enable `no_alternative_syntax` rule --- src/Ruleset/Nexus73.php | 2 +- src/Ruleset/Nexus74.php | 2 +- src/Ruleset/Nexus80.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Ruleset/Nexus73.php b/src/Ruleset/Nexus73.php index 0b95f6d..aa8163f 100644 --- a/src/Ruleset/Nexus73.php +++ b/src/Ruleset/Nexus73.php @@ -222,7 +222,7 @@ public function __construct() 'new_with_braces' => true, 'no_alias_functions' => ['sets' => ['@all']], 'no_alias_language_construct_call' => true, - 'no_alternative_syntax' => false, + '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/Nexus74.php b/src/Ruleset/Nexus74.php index 0224261..745acef 100644 --- a/src/Ruleset/Nexus74.php +++ b/src/Ruleset/Nexus74.php @@ -222,7 +222,7 @@ public function __construct() 'new_with_braces' => true, 'no_alias_functions' => ['sets' => ['@all']], 'no_alias_language_construct_call' => true, - 'no_alternative_syntax' => false, + '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/Nexus80.php b/src/Ruleset/Nexus80.php index a5a8fee..97ad74f 100644 --- a/src/Ruleset/Nexus80.php +++ b/src/Ruleset/Nexus80.php @@ -222,7 +222,7 @@ public function __construct() 'new_with_braces' => true, 'no_alias_functions' => ['sets' => ['@all']], 'no_alias_language_construct_call' => true, - 'no_alternative_syntax' => false, + '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,