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

Remove TrailingCommaInMultilineArrayFixer #5669

Merged
merged 1 commit into from May 3, 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
1 change: 1 addition & 0 deletions UPGRADE-v3.md
Expand Up @@ -46,6 +46,7 @@ Old name | New name | Note
`psr0` | `psr_autoloading` | use configuration `['dir' => x ]`
`psr4` | `psr_autoloading` |
`silenced_deprecation_error` | `error_suppression` |
`trailing_comma_in_multiline_array` | `trailing_comma_in_multiline` | use configuration `['elements' => ['arrays']]`

### Removed rootless configuration

Expand Down
58 changes: 0 additions & 58 deletions doc/rules/array_notation/trailing_comma_in_multiline_array.rst

This file was deleted.

2 changes: 0 additions & 2 deletions doc/rules/index.rst
Expand Up @@ -39,8 +39,6 @@ Array Notation
In array declaration, there MUST NOT be a whitespace before each comma.
- `normalize_index_brace <./array_notation/normalize_index_brace.rst>`_
Array index should always be written by using square braces.
- `trailing_comma_in_multiline_array <./array_notation/trailing_comma_in_multiline_array.rst>`_ *(deprecated)*
PHP multi-line arrays should have a trailing comma.
- `trim_array_spaces <./array_notation/trim_array_spaces.rst>`_
Arrays should be formatted like function/method arguments, without leading or trailing single line space.
- `whitespace_after_comma_in_array <./array_notation/whitespace_after_comma_in_array.rst>`_
Expand Down
108 changes: 0 additions & 108 deletions src/Fixer/ArrayNotation/TrailingCommaInMultilineArrayFixer.php

This file was deleted.