Hello!
Please, can You check installation/autowiring issue with ECS in Symfony 5.
Even in very basic and clean symfony/website-skeleton instance of Symfony 5 project command composer require symplify/easy-coding-standard --dev ends with this error :

To reproduce an issue follow these simple steps :
composer create-project symfony/website-skeleton skeleton
cd skeleton/
composer require symplify/easy-coding-standard --dev
Thanks for a great tool and I'm looking forward to being able to use it in a new Symfony 5 project.
艩p谩gr
Hi Martin,
thanks for report! It seems something in Symfony DI has changed, because the service is not made by Symfony anymore.
I've added missing services and released patch version.
Try 7.3.16 release and let me know. It worked for me

Btw, perfect script to reproduce! :clap:
Took me just 20 seconds to replicate the same errors locally, with almost 0 effort. I wish all the issue reports were like yours!
Great work Tomas :+1: , it's alive again, this is my kind of 5 a.m. messages ! :wink:
Thanks for the quick response and super fast solution.
oops, there is some class maps bug remaining in App_KernelDevDebugContainer.php line 1793:

just run
bin/console
I'd try cleraning cache + removing /vendor
These common "let's start from the beginning" :wink: steps I did before I reopened this issue.
Unfortunately this time it didn't solve the problem: :neutral_face:
rm -rf vendor/
rm -rf var/
composer clearcache
rm composer.lock
composer upgrade
composer dumpautoload #just for sure and composer test
bin/console
or create new complete fresh project to reproduce an issue:
composer create-project symfony/website-skeleton skeleton
cd skeleton/
composer require symplify/easy-coding-standard --dev # done without problems in ECS 7.3.16
bin/console # error occurs :

I run your code and see. You need to remove CS and ECS bundles from bundles.php
Not sure how to prevent auto-adding them. It's handled by Symfony/Flex
Thank you, it works. :+1: