diff --git a/src/lib/PhpCsFixer/Sets/Ibexa50RuleSet.php b/src/lib/PhpCsFixer/Sets/Ibexa50RuleSet.php index e56fe57..e365a64 100644 --- a/src/lib/PhpCsFixer/Sets/Ibexa50RuleSet.php +++ b/src/lib/PhpCsFixer/Sets/Ibexa50RuleSet.php @@ -28,6 +28,7 @@ public function getRules(): array 'property', ], ], + 'native_function_invocation' => true, 'native_type_declaration_casing' => true, 'new_with_parentheses' => true, 'no_trailing_comma_in_singleline' => [ diff --git a/tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/local_rules.php b/tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/local_rules.php index b254e30..0e12b94 100644 --- a/tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/local_rules.php +++ b/tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/local_rules.php @@ -84,7 +84,7 @@ 'scope' => 'namespaced', ], 'native_function_casing' => true, - 'native_function_invocation' => false, + 'native_function_invocation' => true, 'native_type_declaration_casing' => true, 'new_with_parentheses' => true, 'no_alias_functions' => true, diff --git a/tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/php_cs_fixer_rules.php b/tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/php_cs_fixer_rules.php index 3232db4..22f404b 100644 --- a/tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/php_cs_fixer_rules.php +++ b/tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/php_cs_fixer_rules.php @@ -100,6 +100,7 @@ 'scope' => 'namespaced', ], 'native_function_casing' => true, + 'native_function_invocation' => true, 'no_alias_functions' => true, 'no_blank_lines_after_phpdoc' => true, 'no_empty_comment' => true,