Skip to content

Commit

Permalink
Enhancement: Enable no_alias_language_construct_call fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Dec 8, 2020
1 parent a96e6d4 commit 184c5d4
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ For a full diff see [`2.6.1...main`][2.6.1...main].
* Enabled `array_push` fixer ([#279]), by [@localheinz]
* Enabled `clean_namespace` fixer ([#280]), by [@localheinz]
* Enabled `lambda_not_used_import` fixer ([#281]), by [@localheinz]
* Enabled `no_alias_language_construct_call` fixer ([#282]), by [@localheinz]

## [`2.6.1`][2.6.1]

Expand Down Expand Up @@ -231,6 +232,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#279]: https://github.com/ergebnis/php-cs-fixer-config/pull/279
[#280]: https://github.com/ergebnis/php-cs-fixer-config/pull/280
[#281]: https://github.com/ergebnis/php-cs-fixer-config/pull/281
[#282]: https://github.com/ergebnis/php-cs-fixer-config/pull/282

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php71.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ final class Php71 extends AbstractRuleSet
'native_function_type_declaration_casing' => true,
'new_with_braces' => true,
'no_alias_functions' => true,
'no_alias_language_construct_call' => false,
'no_alias_language_construct_call' => true,
'no_alternative_syntax' => true,
'no_binary_string' => true,
'no_blank_lines_after_class_opening' => true,
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php73.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ final class Php73 extends AbstractRuleSet
'native_function_type_declaration_casing' => true,
'new_with_braces' => true,
'no_alias_functions' => true,
'no_alias_language_construct_call' => false,
'no_alias_language_construct_call' => true,
'no_alternative_syntax' => true,
'no_binary_string' => true,
'no_blank_lines_after_class_opening' => true,
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php74.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ final class Php74 extends AbstractRuleSet
'native_function_type_declaration_casing' => true,
'new_with_braces' => true,
'no_alias_functions' => true,
'no_alias_language_construct_call' => false,
'no_alias_language_construct_call' => true,
'no_alternative_syntax' => true,
'no_binary_string' => true,
'no_blank_lines_after_class_opening' => true,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php71Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ final class Php71Test extends AbstractRuleSetTestCase
'native_function_type_declaration_casing' => true,
'new_with_braces' => true,
'no_alias_functions' => true,
'no_alias_language_construct_call' => false,
'no_alias_language_construct_call' => true,
'no_alternative_syntax' => true,
'no_binary_string' => true,
'no_blank_lines_after_class_opening' => true,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php73Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ final class Php73Test extends AbstractRuleSetTestCase
'native_function_type_declaration_casing' => true,
'new_with_braces' => true,
'no_alias_functions' => true,
'no_alias_language_construct_call' => false,
'no_alias_language_construct_call' => true,
'no_alternative_syntax' => true,
'no_binary_string' => true,
'no_blank_lines_after_class_opening' => true,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php74Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ final class Php74Test extends AbstractRuleSetTestCase
'native_function_type_declaration_casing' => true,
'new_with_braces' => true,
'no_alias_functions' => true,
'no_alias_language_construct_call' => false,
'no_alias_language_construct_call' => true,
'no_alternative_syntax' => true,
'no_binary_string' => true,
'no_blank_lines_after_class_opening' => true,
Expand Down

0 comments on commit 184c5d4

Please sign in to comment.