liip / LiipFunctionalTestBundle

Some helper classes for writing functional tests in Symfony
http://liip.ch
MIT License
639 stars 182 forks source link

Feature/cherry pick 4.3 #519

Closed Simperfit closed 5 years ago

Simperfit commented 5 years ago

Fix #518

alexislefebvre commented 5 years ago

Thanks @Simperfit!

allartk commented 5 years ago

Symfony reverted the deletion of Symfony\Bundle\FrameworkBundle\Client in 4.3.1

https://github.com/symfony/framework-bundle/commit/6d125a83f7c94b89b235a3bb7b5c2282f7bfebd2

Obviously, the result is: PHP Fatal error: Uncaught Cannot declare class Symfony\Bundle\FrameworkBundle\Client, because the name is already in use

alexislefebvre commented 5 years ago

Yes, please try the possible solution:

This should work if you downgrade to 2.0.0-alpha15 or use Symfony 4.3.0.

See https://github.com/liip/LiipFunctionalTestBundle/issues/521#issuecomment-499537947