From 6abea6411c3d836d5801a92ec3a04711743c8599 Mon Sep 17 00:00:00 2001 From: Arconian <1034858+Arconian@users.noreply.github.com> Date: Sun, 28 May 2023 20:03:22 +0200 Subject: [PATCH] Restored pagerfanta/pagerfanta dependency (#1912) * Moved pagerfanta adapters to "required" section of the composer.json Since adapters are needed for the functionality they should be installed automatically otherwise exceptions are thrown. Feel free to close the PR if that was intentional and we have to specify the adapters we need from now on manually. This should be mentioned in the documentation and in the CHANGELOG though. * Required pagerfanta full-package instead of only core --- composer.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 7a5fea59e..b1ce1130b 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ "homepage": "https://github.com/FriendsOfSymfony/FOSElasticaBundle", "require": { "php": "^7.4 || ^8.0", - "pagerfanta/core": "^2.4 || ^3.0", + "pagerfanta/pagerfanta": "^2.4 || ^3.0", "psr/log": "^1.0 || ^2.0 || ^3.0", "ruflin/elastica": "^7.1", "symfony/console": "^4.4 || ^5.4 || ^6.2", @@ -50,9 +50,6 @@ "jms/serializer": "^3.8", "jms/serializer-bundle": "^3.5 || ^4.0", "knplabs/knp-components": "^2.4 || ^3.0", - "pagerfanta/doctrine-mongodb-odm-adapter": "^2.4 || ^3.0", - "pagerfanta/doctrine-orm-adapter": "^2.4 || ^3.0", - "pagerfanta/doctrine-phpcr-odm-adapter": "^2.4 || ^3.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan": "^1.4", "phpstan/phpstan-phpunit": "^1.1",