Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Stop using deprecated use_trait option for no_extra_blank_lines fixer #496

Merged
merged 1 commit into from
Oct 5, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ For a full diff see [`3.0.2...main`][3.0.2...main].

* Updated `friendsofphp/php-cs-fixer` ([#495]), by [@dependabot]

### Fixed

* Stopped using deprecated `use_trait` option for `no_extra_blank_lines` fixer ([#496]), by [@dependabot]

## [`3.1.0`][3.1.0]

For a full diff see [`3.0.2...3.1.0`][3.0.2...3.1.0].
Expand Down Expand Up @@ -491,6 +495,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#481]: https://github.com/ergebnis/php-cs-fixer-config/pull/481
[#483]: https://github.com/ergebnis/php-cs-fixer-config/pull/483
[#495]: https://github.com/ergebnis/php-cs-fixer-config/pull/495
[#496]: https://github.com/ergebnis/php-cs-fixer-config/pull/496

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
1 change: 0 additions & 1 deletion src/RuleSet/Php73.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ final class Php73 extends AbstractRuleSet implements ExplicitRuleSet
'switch',
'throw',
'use',
'use_trait',
],
],
'no_homoglyph_names' => true,
Expand Down
1 change: 0 additions & 1 deletion src/RuleSet/Php74.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ final class Php74 extends AbstractRuleSet implements ExplicitRuleSet
'switch',
'throw',
'use',
'use_trait',
],
],
'no_homoglyph_names' => true,
Expand Down
1 change: 0 additions & 1 deletion src/RuleSet/Php80.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ final class Php80 extends AbstractRuleSet implements ExplicitRuleSet
'switch',
'throw',
'use',
'use_trait',
],
],
'no_homoglyph_names' => true,
Expand Down
1 change: 0 additions & 1 deletion test/Unit/RuleSet/Php73Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ final class Php73Test extends ExplicitRuleSetTestCase
'switch',
'throw',
'use',
'use_trait',
],
],
'no_homoglyph_names' => true,
Expand Down
1 change: 0 additions & 1 deletion test/Unit/RuleSet/Php74Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ final class Php74Test extends ExplicitRuleSetTestCase
'switch',
'throw',
'use',
'use_trait',
],
],
'no_homoglyph_names' => true,
Expand Down
1 change: 0 additions & 1 deletion test/Unit/RuleSet/Php80Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ final class Php80Test extends ExplicitRuleSetTestCase
'switch',
'throw',
'use',
'use_trait',
],
],
'no_homoglyph_names' => true,
Expand Down