add php-cs-fixer to list of fixers

This commit is contained in:
Julien Deniau
2018-03-01 15:41:05 +01:00
parent 1d0690f6d7
commit fbbb8c17d9
9 changed files with 94 additions and 2 deletions

View File

@@ -104,6 +104,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['php'],
\ 'description': 'Fix PHP files with phpcbf.',
\ },
\ 'php_cs_fixer': {
\ 'function': 'ale#fixers#php_cs_fixer#Fix',
\ 'suggested_filetypes': ['php'],
\ 'description': 'Fix PHP files with php-cs-fixer.',
\ },
\ 'clang-format': {
\ 'function': 'ale#fixers#clangformat#Fix',
\ 'suggested_filetypes': ['c', 'cpp'],