Skip to content
Snippets Groups Projects
Commit e2b1148c authored by Benni Mack's avatar Benni Mack Committed by Benjamin Franzke
Browse files

[BUGFIX] Add support for symfony/event-dispatcher-contracts v1

With the introduction of symfony/event-dispatcher-contracts
in https://git.typo3.org/Packages/TYPO3.CMS.git/commit/e4a1ae8762ee99712e4e5c9c2f8a3876bce97620

this change forced support for symfony5 in composer-based installations
(although non-composer-based installations use symfony5 bundled already),
as contracts v2 is only compatible with symfony v5, but contracts
v1 is used for symfony4.

This change allows composer-based installations to support both
versions (v5/v4) again, so extensions like EXT:solr (which requires
a package called solarium) to work with the dependency constraints
of TYPO3 Core.

- composer require "symfony/event-dispatcher-contracts:^1.1 || ^2.0" --no-update \
    --working-dir=typo3/sysext/core
- composer require "symfony/event-dispatcher-contracts:^1.1 || ^2.0" --no-update
- composer update --lock

Resolves: #92229
Releases: master, 10.4
Change-Id: I5f501e9ed9d6a844de942c2ca96c9d52e0bd5e89
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65635


Tested-by: default avatarSimon Gilli <typo3@gilbertsoft.org>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarSimon Gilli <typo3@gilbertsoft.org>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarRichard Haeser <richard@richardhaeser.com>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
parent c9971e5d
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment