Morinohtar
Morinohtar

Reputation: 41

Problem with PHP CS Fixer using PhpStorm 2018 under Windows 10

So, given that I'm using:

When I try to commit in PhpStorm using git (have a couple of git hooks) it fires an error regarding php-cs-fixer:

'php-cs-fixer' is not recognized as an internal or external command

I have php-cs-fixer installed globally, both in Windows and Homestead.

I tried some solutions that I found, like trying to put php-cs-fixer as an external tool in PhpStorm and a couple more stuff, but it got me nowhere.

Does anyone know how to make this work?

Upvotes: 0

Views: 440

Answers (1)

user10686911
user10686911

Reputation:

Make sure you have the global Composer binaries directory in your PATH

Upvotes: 3

Related Questions