Quantcast
Channel: PHP CS Fixer: spawn php-cs-fixer ENOENT. executablePath not found - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Ivan Topić for PHP CS Fixer: spawn php-cs-fixer ENOENT. executablePath not found

$
0
0

This is what worked out for me on Windows 10, modify if you have different folder structure.

"phpcbf.executablePath": "C:\\Users\\User\\AppData\\Roaming\\Composer\\vendor\\bin\\phpcbf.bat","phpcbf.executablePathWindows": "C:\\Users\\User\\AppData\\Roaming\\Composer\\vendor\\bin\\phpcbf.bat"

I am using phpcbf extension but yours is probably something like

"php-cs-fixer.executablePath": "C:\\Users\\User\\AppData\\Roaming\\Composer\\vendor\\bin\\php-cs-fixer.phar","php-cs-fixer.executablePathWindows": "C:\\Users\\User\\AppData\\Roaming\\Composer\\vendor\\bin\\php-cs-fixer.bat",

Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>