Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jzfan opened this issue Mar 17, 2019 · 1 comment
Open

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

jzfan opened this issue Mar 17, 2019 · 1 comment

Comments

@jzfan
Copy link

jzfan commented Mar 17, 2019

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants