You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Going from 5.2.4 to 5.2.5 you raised the version range for ongr/elasticsearch-dsl from ~5.0 to ~5.0|~6.0. This causes problems with the Symfony Serializer in version 3.4, which does not yet have type hinting:
Compile Error: Declaration of ONGR\ElasticsearchDSL\Serializer\OrderedSerializer::normalize
($data, ?string $format = NULL, array $context = Array) must be compatible with
Symfony\Component\Serializer\Serializer::normalize($data, $format = NULL, array $context = Array)
The problem is easily fixed by declaring a conflict with ongr/elasticsearch-dsl: "~6.0" in the project composer.json or by pegging the version to something 5.x. But in my opinion, the bundle should not raise the version constraint on a point release. Unless you have a good reason for it?
The text was updated successfully, but these errors were encountered:
PHP version: 7.3.7
Elasticsearch version: 5.6.16
Bundle version: 5.2.5
Symfony version: 3.4.37
Going from 5.2.4 to 5.2.5 you raised the version range for
ongr/elasticsearch-dsl
from~5.0
to~5.0|~6.0
. This causes problems with the Symfony Serializer in version 3.4, which does not yet have type hinting:The problem is easily fixed by declaring a conflict with
ongr/elasticsearch-dsl: "~6.0"
in the projectcomposer.json
or by pegging the version to something 5.x. But in my opinion, the bundle should not raise the version constraint on a point release. Unless you have a good reason for it?The text was updated successfully, but these errors were encountered: