From 8ebaa19ab7147356749604cdc6a1a9c0c3ac2b32 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Wed, 4 Nov 2015 16:53:45 -0500 Subject: [PATCH] Remove PHP warnings for functions that are too complex/long --- vim/config/plugins.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vim/config/plugins.vim b/vim/config/plugins.vim index 6adc7f7..31e7014 100644 --- a/vim/config/plugins.vim +++ b/vim/config/plugins.vim @@ -219,7 +219,10 @@ scriptencoding utf-8 let g:syntastic_php_phpmd_quiet_messages={ \ 'regex':[ \ 'Avoid using short method names like.*', - \ 'Avoid variables with short names like.*' + \ 'Avoid variables with short names like.*', + \ 'The method.*has a Cyclomatic Complexity.*', + \ 'The method.*has an NPath complexity.*', + \ 'The method.*has [0-9][0-9]* lines of code.*' \ ]} let g:syntastic_sh_bashate_quiet_messages={ \ 'regex':[