mirror of
https://github.com/rectorphp/rector.git
synced 2024-09-03 14:11:42 +00:00
16 lines
499 B
Plaintext
16 lines
499 B
Plaintext
checkers:
|
|
# remove unused "use" statements
|
|
- PhpCsFixer\Fixer\Import\NoUnusedImportsFixer
|
|
|
|
# order use statements A-Z
|
|
- PhpCsFixer\Fixer\Import\OrderedImportsFixer
|
|
|
|
# remove leading slash ("\") at imports
|
|
- PhpCsFixer\Fixer\Import\NoLeadingImportSlashFixer
|
|
|
|
# remove extra spaces from DocBlocks
|
|
- PhpCsFixer\Fixer\Comment\NoTrailingWhitespaceInCommentFixer
|
|
|
|
# clean empty doc blocks, e.g. after annotation removal
|
|
- PhpCsFixer\Fixer\Phpdoc\NoEmptyPhpdocFixer
|