rector/ecs-after-rector.neon

22 lines
737 B
Plaintext
Raw Normal View History

2017-11-02 18:21:09 +01:00
checkers:
# remove unused "use" statements
2018-03-13 22:42:21 +01:00
- PhpCsFixer\Fixer\Import\NoUnusedImportsFixer
2017-11-05 20:36:55 +01:00
2017-11-02 18:21:09 +01:00
# order use statements A-Z
2018-03-13 22:42:21 +01:00
- PhpCsFixer\Fixer\Import\OrderedImportsFixer
2017-11-05 20:36:55 +01:00
2017-11-09 03:33:17 +01:00
# remove leading slash ("\") at imports
2018-03-13 22:42:21 +01:00
- PhpCsFixer\Fixer\Import\NoLeadingImportSlashFixer
2017-11-09 03:33:17 +01:00
2017-11-02 18:21:09 +01:00
# remove extra spaces from DocBlocks
2018-03-13 22:42:21 +01:00
- PhpCsFixer\Fixer\Comment\NoTrailingWhitespaceInCommentFixer
2017-11-05 20:36:55 +01:00
# clean empty doc blocks, e.g. after annotation removal
2018-03-13 22:42:21 +01:00
- PhpCsFixer\Fixer\Phpdoc\NoEmptyPhpdocFixer
2018-02-23 19:16:34 +01:00
# import all namespaces
2018-02-28 15:27:06 +01:00
Symplify\CodingStandard\Fixer\Import\ImportNamespacedNameFixer:
include_doc_blocks: true
2018-02-27 15:10:13 +01:00
# add spaces between class elements
2018-03-13 22:42:21 +01:00
- PhpCsFixer\Fixer\ClassNotation\ClassAttributesSeparationFixer