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 Alex for PHP CS Fixer: spawn php-cs-fixer ENOENT. executablePath not found

$
0
0

With Windows 10 & VS Code, You can use:

  1. Install Composer global & see: https://github.com/FriendsOfPHP/PHP-CS-Fixer#installation

  2. Add C:\Users{My Username}\AppData\Roaming\Composer\vendor\bin to PATH in System environment

  3. Use config:

    "php-cs-fixer.executablePath": "php-cs-fixer",

    "php-cs-fixer.executablePathWindows": "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>