-
Notifications
You must be signed in to change notification settings - Fork 736
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
Implement Countable on Objects in PHP7.2 - Backported from #1378 #1510
Conversation
@jmsche Thanks for the contribution. Haven't touched the 2.x branch in ages but happy to hear it still works :-) |
Thanks for accepting the PR :) Will you create a new tag/release, or should I target the 2.x branch? |
Please use the 2.x branch. If somehow possible I would not like to do an other 2.x release. |
I'm wondering if you can still create a release: the package I manage was updated to use "dev-2.x" of ruflin/elastica, but given this I'd have to update all projects to require as well "ruflin/elastica":"@dev", even if "dev-2.x" is mentioned in my package... Thanks for considering my request. |
If I do a new release, you would also have to update all packages? Or what is your line looking like at the moment? The reason I'm very hesitant to do a release because I worry I might break things that work at the moment. It's a long time ago since I touched the 2.x code base so it's hard to think through the problems that could happen. |
If you create a new release, I only have to revert the package I manage to use I understand why you hesitate to create a new release. But, if I'm not mistaken, only two new commits would be released - mine, and d72afd0 - see 2.3.1...2.x From what I can see, my changes are ok, and after checking the other commit, they also seem legitimate. Both are backports and should be ok no matter the PHP version. The only problem being, I can't manage to run tests on my computer :/ |
The commit I'm much more worried is actually not yours but the other one as it adds error handling for I think Elasticsearch 5.x and I'm not sure about the side effects to 1.x installations here. I would appreciate if for now we could leave it as unreleased and reconsider if we get many request for it. Please also keep in mind that 1.7 was EOL beginning of last year: https://www.elastic.co/support/eol |
Hi,
As I'm currently stuck with ElasticSearch v1.7, I'd like to submit a PR to backport changes brought by initial PR #1378: Implement Countable on Objects in PHP7.2.
Thanks,
jmsche