benmatselby / sublime-phpcs

🔍 PHP CodeSniffer, PHP Coding Standard Fixer, Linter, and Mess Detector Support for Sublime Text
Other
814 stars 126 forks source link

php-cs-fixer don't work in win10 #189

Open jzfan opened 5 years ago

jzfan commented 5 years ago

I bind the key for 'phpcs_fix_this_file' command, it runs, but do not work anyway. the php file stay the same. Could somebody tell me why?

`[Phpcs] Fixer [Phpcs] C:\Program Files\php-7.3\php.exe C:\Users\Fan\AppData\Roaming\Composer\vendor\bin\php-cs-fixer.bat fix Y:\lara\app\User.php --verbose --level=all [Phpcs] C:\Program Files\php-7.3\php.exe C:\Users\Fan\AppData\Roaming\Composer\vendor\bin\php-cs-fixer.bat fix Y:\lara\app\User.php --verbose --level=all [Phpcs] cwd: C:\Users\Fan [Phpcs] @ECHO OFF

setlocal DISABLEDELAYEDEXPANSION

SET BIN_TARGET=%~dp0/../friendsofphp/php-cs-fixer/php-cs-fixer

php "%BIN_TARGET%" %* `

benmatselby commented 1 year ago

Hey @jzfan. Could you provide your settings file please? I cannot replicate this bug with the current version of the plugin/php-cs-fixer command.