Skip to content

Support Elasticsearch 8 / FOSElasticaBundle 7 (PHP 8.1+)#41

Open
mussbach wants to merge 1 commit into
php-enqueue:masterfrom
mussbach:es8-support
Open

Support Elasticsearch 8 / FOSElasticaBundle 7 (PHP 8.1+)#41
mussbach wants to merge 1 commit into
php-enqueue:masterfrom
mussbach:es8-support

Conversation

@mussbach

Copy link
Copy Markdown

Bumps the dependency constraints to the Elasticsearch 8–compatible line and adapts the one signature the new interface requires:

  • friendsofsymfony/elastica-bundle: ^6.0^7.0 (the ES8 / ruflin/elastica ^8 line)
  • php: ^7.1|^8.0^8.1
  • QueuePagerPersister::insert() gains the : void return type now declared by FOSElasticaBundle 7.x's PagerPersisterInterface::insert(). Without it the class fatals on autoload under FOS 7.

No behavioural change. symfony/framework-bundle already allowed ^6.0|^7.0.

Bump dependency constraints to the ES8-compatible line (friendsofsymfony/elastica-bundle ^7.0, PHP ^8.1) and add the ': void' return type to QueuePagerPersister::insert() required by FOSElasticaBundle 7.x's PagerPersisterInterface.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant