Merge pull request #263 from MGAio/patch-1
php prefix is not necessary for php-cs-fixer
This commit is contained in:
commit
6654bc3697
|
@ -21,7 +21,7 @@ getCmd = (inputPath, outputPath, options) ->
|
|||
|
||||
if phpCsFixerPath
|
||||
# Use absolute path
|
||||
"(php \"#{phpCsFixerPath}\" fix #{cmd}"
|
||||
"(\"#{phpCsFixerPath}\" fix #{cmd}"
|
||||
else
|
||||
# Use command available in $PATH
|
||||
"(php-cs-fixer fix #{cmd}"
|
||||
|
|
Loading…
Reference in New Issue