Skip to content

Commit

Permalink
Merge pull request #284 from ergebnis/feature/no-useless-sprintf
Browse files Browse the repository at this point in the history
Enhancement: Enable no_useless_sprintf fixer
  • Loading branch information
ergebnis-bot committed Dec 8, 2020
2 parents 57c577e + b5a5a26 commit aa322d5
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -15,6 +15,7 @@ For a full diff see [`2.6.1...main`][2.6.1...main].
* Enabled `lambda_not_used_import` fixer ([#281]), by [@localheinz]
* Enabled `no_alias_language_construct_call` fixer ([#282]), by [@localheinz]
* Enabled `no_trailing_whitespace_in_string` fixer ([#283]), by [@localheinz]
* Enabled `no_useless_sprintf` fixer ([#284]), by [@localheinz]

## [`2.6.1`][2.6.1]

Expand Down Expand Up @@ -234,6 +235,8 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#280]: https://github.com/ergebnis/php-cs-fixer-config/pull/280
[#281]: https://github.com/ergebnis/php-cs-fixer-config/pull/281
[#282]: https://github.com/ergebnis/php-cs-fixer-config/pull/282
[#283]: https://github.com/ergebnis/php-cs-fixer-config/pull/283
[#284]: https://github.com/ergebnis/php-cs-fixer-config/pull/284

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php71.php
Expand Up @@ -237,7 +237,7 @@ final class Php71 extends AbstractRuleSet
'no_unused_imports' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'no_useless_sprintf' => false,
'no_useless_sprintf' => true,
'no_whitespace_before_comma_in_array' => true,
'no_whitespace_in_blank_line' => true,
'non_printable_character' => true,
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php73.php
Expand Up @@ -237,7 +237,7 @@ final class Php73 extends AbstractRuleSet
'no_unused_imports' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'no_useless_sprintf' => false,
'no_useless_sprintf' => true,
'no_whitespace_before_comma_in_array' => true,
'no_whitespace_in_blank_line' => true,
'non_printable_character' => true,
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php74.php
Expand Up @@ -237,7 +237,7 @@ final class Php74 extends AbstractRuleSet
'no_unused_imports' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'no_useless_sprintf' => false,
'no_useless_sprintf' => true,
'no_whitespace_before_comma_in_array' => true,
'no_whitespace_in_blank_line' => true,
'non_printable_character' => true,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php71Test.php
Expand Up @@ -243,7 +243,7 @@ final class Php71Test extends AbstractRuleSetTestCase
'no_unused_imports' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'no_useless_sprintf' => false,
'no_useless_sprintf' => true,
'no_whitespace_before_comma_in_array' => true,
'no_whitespace_in_blank_line' => true,
'non_printable_character' => true,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php73Test.php
Expand Up @@ -243,7 +243,7 @@ final class Php73Test extends AbstractRuleSetTestCase
'no_unused_imports' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'no_useless_sprintf' => false,
'no_useless_sprintf' => true,
'no_whitespace_before_comma_in_array' => true,
'no_whitespace_in_blank_line' => true,
'non_printable_character' => true,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php74Test.php
Expand Up @@ -243,7 +243,7 @@ final class Php74Test extends AbstractRuleSetTestCase
'no_unused_imports' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'no_useless_sprintf' => false,
'no_useless_sprintf' => true,
'no_whitespace_before_comma_in_array' => true,
'no_whitespace_in_blank_line' => true,
'non_printable_character' => true,
Expand Down

0 comments on commit aa322d5

Please sign in to comment.