Closed soullivaneuh closed 4 years ago
SonataBlockBundle requires SonataAdminBundle just for 2 things:
It is a bit weird to have a circular dependency. I think there are ways to break this circular dependency like:
I don't really know how to do it or which one is the best solution, but it's strange depending on some bundle that already depends on you.
@jordisala1991 Indeed we have to work on things like that. :+1:
But this is a discussion that have to be done on concerned bundles for next minor on a BC way.
Maybe this will solve Travis itself, but for know, we have to found a trick to test code already here and stable.
There is no sonata-admin dependency in https://github.com/sonata-project/SonataBlockBundle/blob/4.x/composer.json
Travis job: https://travis-ci.org/sonata-project/SonataBlockBundle/jobs/131844587#L222
In a nutshell, block-bundle 4.x can't be tested with stable version of admin-bundle because this one require block-bundle 3.x stable.
We can't bump version constraint on a stable version of admin-bundle, we have to found a trick to force the test.
What is your suggestions @sonata-project/contributors?