Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (19 sloc) 989 Bytes
# 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 namespaces for classes, constants and functions
# configuration:
searchAnnotations: true
allowFallbackGlobalFunctions: true
allowFallbackGlobalConstants: true
# add spaces between class elements
PhpCsFixer\Fixer\ClassNotation\ClassAttributesSeparationFixer: ~
You can’t perform that action at this time.