From 2aeaf6e9fdfb4be5081ce67badafd43019bb475a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 29 Nov 2019 16:11:43 +1300 Subject: Prevent diagnostics from php-cs-fixer --- bin/phpcsff.mi5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/phpcsff.mi5 b/bin/phpcsff.mi5 index ea05eaaa..5e33f047 100755 --- a/bin/phpcsff.mi5 +++ b/bin/phpcsff.mi5 @@ -11,5 +11,5 @@ if ! command -v php-cs-fixer >/dev/null 2>&1 ; then exit 1 fi cat -- "${@:--}" > "$td"/src.php -php-cs-fixer fix -- "$td"/src.php +php-cs-fixer fix --quiet -- "$td"/src.php cat -- "$td"/src.php -- cgit v1.2.3 From 2e8e5397d20f8c9cfe8b31c93cf60ec8511206b4 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 29 Nov 2019 16:12:03 +1300 Subject: Define phpcsff(1df) as Vim 'equalprg' for PHP --- vim/after/ftplugin/php.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vim/after/ftplugin/php.vim b/vim/after/ftplugin/php.vim index c7f77ece..0ce099a0 100644 --- a/vim/after/ftplugin/php.vim +++ b/vim/after/ftplugin/php.vim @@ -1,7 +1,8 @@ " Use PHP itself for syntax checking compiler php +setlocal equalprg=phpcsff let b:undo_ftplugin .= '|unlet b:current_compiler' - \ . '|setlocal errorformat< makeprg<' + \ . '|setlocal equalprg< errorformat< makeprg<' " Set comment formats setlocal comments=s1:/*,m:*,ex:*/,://,:# -- cgit v1.2.3 From 67217ad3c50c93514c08469055437c4118e18670 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 29 Nov 2019 16:12:16 +1300 Subject: Bump VERSION --- VERSION | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 6a0cbc58..59ba0c65 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -tejr dotfiles v7.22.0 -Fri, 29 Nov 2019 03:07:47 +0000 +tejr dotfiles v7.23.0 +Fri, 29 Nov 2019 03:12:16 +0000 -- cgit v1.2.3