Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix InlineControlStructureSniff adding brackets when there is already…
… a bracket While live coding, there might not only be an incomplete `if ():` at the end of a file, it might as well be an incomplete `if () {`. The most minimal example I found is `<?php if ( 1 ) { break;`. The auto-fix currently turns this into `<?php if ( 1 ) { { { { { { { { { { { { { { { { { { { { { { { { { { break;}}}}}}}}}}}}}}}}}}}}}}}}}`. 😲
- Loading branch information