Skip to content

Commit

Permalink
Restored pagerfanta/pagerfanta dependency (#1912)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Arconian authored May 28, 2023
1 parent b2012b7 commit 6abea64
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 6abea64

Please sign in to comment.