rector/ecs-after-rector.yaml
2020-01-05 20:00:32 +01:00

22 lines
743 B
YAML

services:
# remove unused "use" statements
PhpCsFixer\Fixer\Import\NoUnusedImportsFixer: null
# order use statements A-Z
PhpCsFixer\Fixer\Import\OrderedImportsFixer: null
# remove leading slash ("\") at imports
PhpCsFixer\Fixer\Import\NoLeadingImportSlashFixer: null
# remove extra spaces from DocBlocks
PhpCsFixer\Fixer\Comment\NoTrailingWhitespaceInCommentFixer: null
# clean empty doc blocks, e.g. after annotation removal
PhpCsFixer\Fixer\Phpdoc\NoEmptyPhpdocFixer: null
# add spaces between class elements
PhpCsFixer\Fixer\ClassNotation\ClassAttributesSeparationFixer: null
# add declare strict types to start of the file
PhpCsFixer\Fixer\Strict\DeclareStrictTypesFixer: null