0

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!

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129

2 Answers2

0

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.

-1

You need updates or install some dependencies as follows:

$brew install svn
$brew link --overwrite subversion
Emiliux
  • 19
  • 2
  • 2
    Please add some explanation to your answer - why should updating Subversion solve the given problem? And what makes you think that the OP is using Brew after all? – Nico Haase Jan 18 '20 at 12:31