2018-06-05 20:08:54 +02:00
|
|
|
services:
|
2017-11-02 18:21:09 +01:00
|
|
|
# remove unused "use" statements
|
2020-01-05 20:00:32 +01:00
|
|
|
PhpCsFixer\Fixer\Import\NoUnusedImportsFixer: null
|
2017-11-05 20:36:55 +01:00
|
|
|
|
2017-11-02 18:21:09 +01:00
|
|
|
# order use statements A-Z
|
2020-01-05 20:00:32 +01:00
|
|
|
PhpCsFixer\Fixer\Import\OrderedImportsFixer: null
|
2017-11-05 20:36:55 +01:00
|
|
|
|
2017-11-09 03:33:17 +01:00
|
|
|
# remove leading slash ("\") at imports
|
2020-01-05 20:00:32 +01:00
|
|
|
PhpCsFixer\Fixer\Import\NoLeadingImportSlashFixer: null
|
2017-11-09 03:33:17 +01:00
|
|
|
|
2017-11-02 18:21:09 +01:00
|
|
|
# remove extra spaces from DocBlocks
|
2020-01-05 20:00:32 +01:00
|
|
|
PhpCsFixer\Fixer\Comment\NoTrailingWhitespaceInCommentFixer: null
|
2017-11-05 20:36:55 +01:00
|
|
|
|
2017-11-05 17:35:51 +01:00
|
|
|
# clean empty doc blocks, e.g. after annotation removal
|
2020-01-05 20:00:32 +01:00
|
|
|
PhpCsFixer\Fixer\Phpdoc\NoEmptyPhpdocFixer: null
|
2018-02-23 19:16:34 +01:00
|
|
|
|
2018-02-27 15:10:13 +01:00
|
|
|
# add spaces between class elements
|
2020-01-05 20:00:32 +01:00
|
|
|
PhpCsFixer\Fixer\ClassNotation\ClassAttributesSeparationFixer: null
|
2019-05-23 19:32:46 +02:00
|
|
|
|
|
|
|
# add declare strict types to start of the file
|
2020-01-05 20:00:32 +01:00
|
|
|
PhpCsFixer\Fixer\Strict\DeclareStrictTypesFixer: null
|