Permalink
Browse files

Add quotes around rules option to allow JSON rules

  • Loading branch information...
Peekmo committed Sep 7, 2017
1 parent aa4bbd6 commit 4d521b0dfad155983a998f210dad5947ee6ed585
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/php_cs_fixer.vim
@@ -71,7 +71,7 @@ fun! php_cs_fixer#fix(path, dry_run)
if g:php_cs_fixer_version >= 2
if exists('g:php_cs_fixer_rules') && g:php_cs_fixer_rules != '@PSR2'
let command = command.' --rules='.g:php_cs_fixer_rules
let command = command." --rules='".g:php_cs_fixer_rules."'"
endif
else
if exists('g:php_cs_fixer_level') && g:php_cs_fixer_level != 'all'

0 comments on commit 4d521b0

Please sign in to comment.