Skip to content

Commit

Permalink
minor #5669 Remove TrailingCommaInMultilineArrayFixer (kubawerlos, ke…
Browse files Browse the repository at this point in the history
…radus)

This PR was squashed before being merged into the 3.0 branch.

Discussion
----------

Remove TrailingCommaInMultilineArrayFixer

Commits
-------

a04d9c5 Remove TrailingCommaInMultilineArrayFixer
  • Loading branch information
keradus committed May 3, 2021
2 parents 33e3db3 + a04d9c5 commit 2160b5f
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 597 deletions.
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.

0 comments on commit 2160b5f

Please sign in to comment.