mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
22 lines
743 B
YAML
22 lines
743 B
YAML
services:
|
|
# 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: ~
|
|
|
|
# import all namespaces
|
|
Symplify\CodingStandard\Fixer\Import\ImportNamespacedNameFixer:
|
|
include_doc_blocks: true
|
|
|
|
# add spaces between class elements
|
|
PhpCsFixer\Fixer\ClassNotation\ClassAttributesSeparationFixer: ~ |