Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generic/ArrayIndent: avoid extra calls to ArrayIndent::processMultiLi…
…neArray() This commit fixes a small inefficiency when fixing the `CloseBraceNotNewLine` error. Previously, the sniff would add the new line and the number of spaces used for an array element (which is more tha what should be used for the array closing brace). Then on a subsequent call to processMultiLineArray(), it would detect the wrong number of spaces for the closing brace and it would fix it. Now, the sniff will use the correct number of spaces when adding the newline.
- Loading branch information