yokai-php / sonata-workflow

Integrate Symfony workflow component in Sonata Admin
MIT License
22 stars 12 forks source link

Symfony 6 support #33

Closed danaki closed 2 years ago

danaki commented 2 years ago
- yokai/sonata-workflow dev-sonata-4.x-compatibility requires symfony/workflow ^4.4|^5.0 -> found symfony/workflow[v4.4.0, ..., v4.4.42, v5.0.0, ..., v5.4.9] but it conflicts with your root composer.json require (6.0.*).
yann-eugone commented 2 years ago

Released in v0.7.0

danaki commented 2 years ago

I'm getting

Cannot autowire service "Yokai\SonataWorkflow\Controller\WorkflowController": argument "$container" of method "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::setContainer()" references interface "Psr\Container\ContainerInterface" but no such service exists. Available autowiring aliases for this interface are: "$parameterBag".

Do you know what can it be or it's just due to my configuration?

yann-eugone commented 2 years ago

I'm not sure what is the issue here. Maybe Symfony just removed the alias for Psr\Container\ContainerInterface in the most recent versions. But I'm not sure this library has something to do with this error.

danaki commented 2 years ago

I dont know what I did but the issue is gone

yann-eugone commented 2 years ago

That's my favourite kind of issues :)