-
-
Notifications
You must be signed in to change notification settings - Fork 89
Closed as not planned
Labels
Description
Is your feature request related to a problem?
When writing some sniff fixes, it's necessary to remove an entire line. Currently there is no helper for this.
This is particularly helpful when writing sniffs for phpdocs.
Describe the solution you'd like
$phpcsFile->fixer->beginChangeset();
$phpcsFile->fixer->removeLineAtPointer($stackPtr);
$phpcsFile->fixer->endChangeset();
Additional context (optional)
- I intend to create a pull request to implement this feature.