Search code examples
phplaravelphp-cs-fixer

php-cs-fixer [Symfony\Component\Process\Exception\RuntimeException] The process has been signaled with signal "6"


I've installed php-cs-fixer via composer tonight.

But when testing again a php file I'm getting the following error:

[Symfony\Component\Process\Exception\RuntimeException] The process has been signalled with signal "6".

I've tried removing it and re-installing it to the same effect.

Your help here would be greatly appreciated.

New to laravel PHP programming but enjoying it!


Solution

  • Worked it out guys/girls.

    Was a version issue with php. Not sure how it happened as I'd installed php71 via homebrew but when doing.

    php -v it was pointing to the pre-installed version of php on my mac.

    PLUS I had a version of mampstack installed on my machine. I removed that.

    Reinstalled php71 and did a

    php -v

    and sure enough, the correct version of php is now running.

    The php-cs-fixer is now working as expected.

    This was question was my first post to stack overflow :-)

    Looking forward to contributing more!

    Take care.