Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generic/OpeningFunctionBraceKernighanRichie: improve handling of tabs
This commit makes a tiny performance improvement to the sniff when handling fixing code with tabs. Before this change, the sniff would need two passes of the fixer for code with one tab before the opening brace. First, it would add a space between the tab and the opening brace. Then, on a second pass, it would replace the tab and the space with just one space. Now, it replaces the tab with the space directly without the need for a second pass.
- Loading branch information