Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #30 from gansel-rechtsanwaelte/feature/ereg-to-preg
Browse files Browse the repository at this point in the history
Enhancement: Enable ereg_to_preg fixer
  • Loading branch information
localheinz authored Dec 11, 2020
2 parents 5a439b2 + 01e44a0 commit 5534729
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ For a full diff see [`1.2.0...main`][1.2.0...main].
* Enabled `array_push` fixer ([#27]), by [@localheinz]
* Enabled `combine_nested_dirname` fixer ([#28]), by [@localheinz]
* Enabled `dir_constant` fixer ([#29]), by [@localheinz]
* Enabled `ereg_to_preg` fixer ([#30]), by [@localheinz]

## [`1.2.0`][1.2.0]

Expand Down Expand Up @@ -62,5 +63,6 @@ For a full diff see [`b9012df...1.0.0`][b9012df...1.0.0].
[#27]: https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/pull/27
[#28]: https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/pull/28
[#29]: https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/pull/29
[#30]: https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/pull/30

[@localheinz]: https://github.com/localheinz
2 changes: 1 addition & 1 deletion src/RuleSet/Php72.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ final class Php72 extends AbstractRuleSet
'echo_tag_syntax' => true,
'elseif' => true,
'encoding' => true,
'ereg_to_preg' => false,
'ereg_to_preg' => true,
'error_suppression' => false,
'escape_implicit_backslashes' => false,
'explicit_indirect_variable' => false,
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php74.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ final class Php74 extends AbstractRuleSet
'echo_tag_syntax' => true,
'elseif' => true,
'encoding' => true,
'ereg_to_preg' => false,
'ereg_to_preg' => true,
'error_suppression' => false,
'escape_implicit_backslashes' => false,
'explicit_indirect_variable' => false,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php72Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ final class Php72Test extends AbstractRuleSetTestCase
'echo_tag_syntax' => true,
'elseif' => true,
'encoding' => true,
'ereg_to_preg' => false,
'ereg_to_preg' => true,
'error_suppression' => false,
'escape_implicit_backslashes' => false,
'explicit_indirect_variable' => false,
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 @@ -97,7 +97,7 @@ final class Php74Test extends AbstractRuleSetTestCase
'echo_tag_syntax' => true,
'elseif' => true,
'encoding' => true,
'ereg_to_preg' => false,
'ereg_to_preg' => true,
'error_suppression' => false,
'escape_implicit_backslashes' => false,
'explicit_indirect_variable' => false,
Expand Down

0 comments on commit 5534729

Please sign in to comment.