Have you checked that your global composer.json file don't have the php-cs-fixer in it still?
Everything blowed up after php 8.0
Hello community (Or should I say Snapey or Sinnbeck? :) ),
Anyways the last days have been rough one bad problem after the other now here is the next one:
BTW. I really appreciate your help.
The new problem is, that all my applications are not showing anymore
502 Bad Gateway
nginx/1.19.0
that happened after installing php 8.0 I think but not sure about it.
To fix this issue I want to do
composer global update && valet install
but when i do
composer global update
I get
➜ LivewireTest git:(master) ✗ composer global update
Changed current directory to /Users/reniar/.composer
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- friendsofphp/php-cs-fixer[v2.16.0, ..., v2.16.5] require php ^5.6 || ^7.0 -> your php version (8.0.0) does not satisfy that requirement.
- friendsofphp/php-cs-fixer v2.16.6 requires php ^7.0 -> your php version (8.0.0) does not satisfy that requirement.
- friendsofphp/php-cs-fixer v2.16.7 requires php ^7.1 -> your php version (8.0.0) does not satisfy that requirement.
- Root composer.json requires friendsofphp/php-cs-fixer ^2.16 -> satisfiable by friendsofphp/php-cs-fixer[v2.16.0, ..., v2.16.7].
to fix this i tried
composer remove friendsofphp/php-cs-fixer
but that didn't help at all I still cannot do
composer global update
Ah seems that cs fixer does not support php 8 yet. Either remove it from that json file, and run the command again, or downgrade to php 7.4 for now :)
https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/2.16/composer.json#L17
Please or to participate in this conversation.