Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #336 add symfony/serializer 6 support #367

Open
wants to merge 10 commits into
base: 7.2
Choose a base branch
from

Conversation

GinoPane
Copy link

No description provided.

@GinoPane GinoPane changed the title Add symfony/serializer 6 constraint Fix #336 add symfony/serializer 6 support Oct 31, 2022
@GinoPane GinoPane changed the base branch from master to 7.2 October 31, 2022 14:42
@andrew-nuwber
Copy link

@gep hi!

Do you mind to review the PR?

Thank you

@gep
Copy link

gep commented Mar 8, 2023

@gep hi!

Do you mind to review the PR?

Thank you

I already reviewed. Thanks

@andrew-nuwber
Copy link

Oh, @gep sorry for inconvenience, thought that you are the developer of the package

@andrew-nuwber
Copy link

@84m hi!

Could you review changes of the PR?

Thanks

@@ -27,7 +27,7 @@ class AggregationsEndpoint extends AbstractSearchEndpoint
/**
* {@inheritdoc}
*/
public function normalize(NormalizerInterface $normalizer, string $format = null, array $context = [])
public function normalize(NormalizerInterface $normalizer, string $format = null, array $context = []): array|string|int|float|bool
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Union return types are from php 8 and in composer we declare that php 7.4 is supported.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's time to remove 7.4 as it's no longer supported :(

https://www.php.net/supported-versions.php

Or we can return nothing in this function

@leonvd6
Copy link

leonvd6 commented Jul 28, 2023

Any update on when this will get merged? I've hardcoded this pull request so long into my composer.

@C0mp4ct
Copy link

C0mp4ct commented Aug 3, 2023

You can use fork with updated PHP and serializer https://github.com/bistrosk/elasticsearch-dsl.
Seems that maintainers don't care.

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.

None yet

6 participants