Skip to content

Commit

Permalink
Merge pull request #279 from ergebnis/feature/array-push
Browse files Browse the repository at this point in the history
Enhancement: Enable array_push fixer
  • Loading branch information
ergebnis-bot authored Dec 8, 2020
2 parents 574002c + 9c99b54 commit 565e04f
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

For a full diff see [`2.6.1...main`][2.6.1...main].

### Changed

* Enabled `array_push` fixer ([#279]), by [@localheinz]

## [`2.6.1`][2.6.1]

For a full diff see [`2.6.0...2.6.1`][2.6.0...2.6.1].
Expand Down Expand Up @@ -222,6 +226,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#264]: https://github.com/ergebnis/php-cs-fixer-config/pull/264
[#265]: https://github.com/ergebnis/php-cs-fixer-config/pull/265
[#276]: https://github.com/ergebnis/php-cs-fixer-config/pull/276
[#279]: https://github.com/ergebnis/php-cs-fixer-config/pull/279

[@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 @@ -24,7 +24,7 @@ final class Php71 extends AbstractRuleSet
'comment_type' => 'all_multiline',
],
'array_indentation' => true,
'array_push' => false,
'array_push' => true,
'array_syntax' => [
'syntax' => 'short',
],
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php73.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ final class Php73 extends AbstractRuleSet
'comment_type' => 'all_multiline',
],
'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 @@ -24,7 +24,7 @@ final class Php74 extends AbstractRuleSet
'comment_type' => 'all_multiline',
],
'array_indentation' => true,
'array_push' => false,
'array_push' => true,
'array_syntax' => [
'syntax' => 'short',
],
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 @@ -30,7 +30,7 @@ final class Php71Test extends AbstractRuleSetTestCase
'comment_type' => 'all_multiline',
],
'array_indentation' => true,
'array_push' => false,
'array_push' => true,
'array_syntax' => [
'syntax' => 'short',
],
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 @@ -30,7 +30,7 @@ final class Php73Test extends AbstractRuleSetTestCase
'comment_type' => 'all_multiline',
],
'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 @@ -30,7 +30,7 @@ final class Php74Test extends AbstractRuleSetTestCase
'comment_type' => 'all_multiline',
],
'array_indentation' => true,
'array_push' => false,
'array_push' => true,
'array_syntax' => [
'syntax' => 'short',
],
Expand Down

0 comments on commit 565e04f

Please sign in to comment.