Skip to content

Commit 9535d0d

Browse files
committed
If level is , we don't define level, php-cs-fixer does it by default.
1 parent 34732ce commit 9535d0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/php-cs-fixer.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fun! PhpCsFixerFix(path, dry_run)
4242
let command = command.' --dry-run'
4343
endif
4444

45-
if exists('g:php_cs_fixer_level')
45+
if exists('g:php_cs_fixer_level') && g:php_cs_fixer_level != 'all'
4646
let command = command.' --level='.g:php_cs_fixer_level
4747
endif
4848

0 commit comments

Comments
 (0)