Skip to content

psr/event-dispatcher is incompatible with symfony 4 #181

@pinoniq

Description

@pinoniq

It is currently impossible to use the bundle provided in v2 with symfony. However this one is installed by default.

This because of a dependency on Psr\EventDispatcher\EventDispatcherInterface

The error is:

 Cannot autowire service "Jose\Bundle\JoseFramework\Services\HeaderCheckerManagerFactory": argument "$eventDispatcher" of method "__construct()" references interface "Psr\EventDispatcher\EventDispatcherInterface" but no such service exists. You should   
  maybe alias this interface to one of these existing services: "debug.event_dispatcher", "debug.event_dispatcher.inner".             

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions