Skip to content

Commit b813066

Browse files
committed
Use no_trailing_comma_in_singleline
- Instead of deprecated `no_trailing_comma_in_list_call` and `no_trailing_comma_in_singleline_array` - clarify readme/composer.json the config is now for v3.11 and up - prepare for 2.1.0 release.
1 parent bb0e80d commit b813066

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ CHANGELOG
44
[Next release](https://github.com/mfn/php-cs-fixer-config/compare/1.0.2...master)
55
--------------
66

7+
2022-09-25, 2.2.0
8+
-----------------
9+
- Added `no_unneeded_import_alias`
10+
711
2022-09-23, 2.1.0
812
-----------------
913
- use `no_trailing_comma_in_singleline` instead of deprecated

src/Config.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ public static function getRules(): array
187187
'no_unneeded_control_parentheses' => true,
188188
'no_unneeded_curly_braces' => true,
189189
'no_unneeded_final_method' => false,
190+
'no_unneeded_import_alias' => true,
190191
'no_unreachable_default_argument_value' => false,
191192
'no_unset_cast' => true,
192193
'no_unset_on_property' => false,

0 commit comments

Comments
 (0)