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

Commit

Permalink
Enhancement: Enable array_push fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Dec 11, 2020
1 parent ead99b1 commit 9c1bd33
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 @@ -12,6 +12,7 @@ For a full diff see [`1.2.0...main`][1.2.0...main].

* Allowed installation with PHP 8.0 ([#24]), by [@localheinz]
* Enabled `align_multiline_comment` fixer ([#26]), by [@localheinz]
* Enabled `array_push` fixer ([#27]), by [@localheinz]

## [`1.2.0`][1.2.0]

Expand Down Expand Up @@ -56,5 +57,6 @@ For a full diff see [`b9012df...1.0.0`][b9012df...1.0.0].
[#21]: https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/pull/21
[#24]: https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/pull/24
[#26]: https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/pull/26
[#27]: https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/pull/27

[@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 @@ -22,7 +22,7 @@ final class Php72 extends AbstractRuleSet
protected $rules = [
'align_multiline_comment' => true,
'array_indentation' => true,
'array_push' => false,
'array_push' => true,
'array_syntax' => [
'syntax' => 'short',
],
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php74.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ final class Php74 extends AbstractRuleSet
protected $rules = [
'align_multiline_comment' => true,
'array_indentation' => true,
'array_push' => false,
'array_push' => true,
'array_syntax' => [
'syntax' => 'short',
],
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 @@ -28,7 +28,7 @@ final class Php72Test extends AbstractRuleSetTestCase
protected $rules = [
'align_multiline_comment' => true,
'array_indentation' => true,
'array_push' => false,
'array_push' => true,
'array_syntax' => [
'syntax' => 'short',
],
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 @@ -28,7 +28,7 @@ final class Php74Test extends AbstractRuleSetTestCase
protected $rules = [
'align_multiline_comment' => true,
'array_indentation' => true,
'array_push' => false,
'array_push' => true,
'array_syntax' => [
'syntax' => 'short',
],
Expand Down

0 comments on commit 9c1bd33

Please sign in to comment.