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 #29 from gansel-rechtsanwaelte/feature/dir-constant
Browse files Browse the repository at this point in the history
Enhancement: Enable dir_constant fixer
  • Loading branch information
gansel-bot authored Dec 11, 2020
2 parents 15dd90c + 070a483 commit 5a439b2
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 @@ -14,6 +14,7 @@ For a full diff see [`1.2.0...main`][1.2.0...main].
* Enabled `align_multiline_comment` fixer ([#26]), by [@localheinz]
* Enabled `array_push` fixer ([#27]), by [@localheinz]
* Enabled `combine_nested_dirname` fixer ([#28]), by [@localheinz]
* Enabled `dir_constant` fixer ([#29]), by [@localheinz]

## [`1.2.0`][1.2.0]

Expand Down Expand Up @@ -60,5 +61,6 @@ For a full diff see [`b9012df...1.0.0`][b9012df...1.0.0].
[#26]: https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/pull/26
[#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

[@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 @@ -79,7 +79,7 @@ final class Php72 extends AbstractRuleSet
'date_time_immutable' => false,
'declare_equal_normalize' => true,
'declare_strict_types' => true,
'dir_constant' => false,
'dir_constant' => true,
'doctrine_annotation_array_assignment' => [
'operator' => ':',
],
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php74.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ final class Php74 extends AbstractRuleSet
'date_time_immutable' => false,
'declare_equal_normalize' => true,
'declare_strict_types' => true,
'dir_constant' => false,
'dir_constant' => true,
'doctrine_annotation_array_assignment' => [
'operator' => ':',
],
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 @@ -85,7 +85,7 @@ final class Php72Test extends AbstractRuleSetTestCase
'date_time_immutable' => false,
'declare_equal_normalize' => true,
'declare_strict_types' => true,
'dir_constant' => false,
'dir_constant' => true,
'doctrine_annotation_array_assignment' => [
'operator' => ':',
],
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 @@ -85,7 +85,7 @@ final class Php74Test extends AbstractRuleSetTestCase
'date_time_immutable' => false,
'declare_equal_normalize' => true,
'declare_strict_types' => true,
'dir_constant' => false,
'dir_constant' => true,
'doctrine_annotation_array_assignment' => [
'operator' => ':',
],
Expand Down

0 comments on commit 5a439b2

Please sign in to comment.