Skip to content

Add support for doctrine/event-manager:^2 #373

Description

@BurningDog
  • Symfony version: 6.2
  • Algolia Search Bundle version: 6.0.1

Description

I can't install algolia/search-bundle on an existing Symfony 6.2 application due to version conflicts. algolia/search-bundle requires "doctrine/event-manager": "^1.1", but other standard Doctrine packages require doctrine/event-manager ^2.0

If I composer require algolia/search-bundle using the --with-all-dependencies flag, it installs successfully. The tree of dependencies for doctrine/event-manager is then:

$ ❯ composer depends doctrine/event-manager
algolia/search-bundle   6.0.1  requires doctrine/event-manager (^1.1)
doctrine/dbal           3.6.2  requires doctrine/event-manager (^1|^2)
doctrine/migrations     3.6.0  requires doctrine/event-manager (^1.2 || ^2.0)
doctrine/orm            2.14.3 requires doctrine/event-manager (^1.2 || ^2)
doctrine/persistence    3.1.4  requires doctrine/event-manager (^1 || ^2)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions