mansoorkhan96 / php-cs-fixer

PHP CS Fixer extension for VS Code with zero config
https://marketplace.visualstudio.com/items?itemName=mansoorkhan96.php-cs-fixer
MIT License
12 stars 4 forks source link

Version 1.05+ stops working with Local? #27

Open simplistik opened 2 months ago

simplistik commented 2 months ago

I appears that 1.05+ stops working with MacOS Local here's the error:

image

image

When I roll back to 1.04 everything works fine without any changes to the environments.

This seems to be happening across the board within this type of environment.

mansoorkhan96 commented 2 months ago

can you please try latest version? 1.0.8

simplistik commented 2 months ago

It doesn't work. No version between 1.0.5 and 1.0.8 work.

But 1.0.4 and below do work. All versions that don't work give the exact same error. The way the error shows:

Could not open input file: /Users/#####/Local

Makes me think that it's not escaping the spacing in the folders e.g. /users/#####/Local\ Sites/sitename/app/etc

mansoorkhan96 commented 2 months ago

It might have to do with the php-cs-fixer binary. The difference between 1.0.4 and 1.0.5 is that i have upgraded the php-cs-fixer binary from v3.28.0 to v3.59.3. Can you try to download v3.28.0 and pass it as toolPath to extension and see if it works for you?