Merge pull request #1820 from SuRaMoN/master

Added phpcs options support as described in #257
This commit is contained in:
w0rp
2018-08-23 22:42:45 +01:00
committed by GitHub
3 changed files with 18 additions and 1 deletions

View File

@@ -27,3 +27,9 @@ Execute(Projects without local executables should use the global one):
AssertLinter 'phpcs',
\ ale#Escape('phpcs') . ' -s --report=emacs --stdin-path=%s'
Execute(User provided options are used):
let g:ale_php_phpcs_options = '--my-user-provided-option my-value'
AssertLinter 'phpcs',
\ ale#Escape('phpcs') . ' -s --report=emacs --stdin-path=%s --my-user-provided-option my-value'