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

Enhancement: Enable ereg_to_preg fixer #30

Merged
merged 1 commit into from
Dec 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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