Merge pull request #1820 from SuRaMoN/master

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

No files matched your search

@@ -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'