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

Test on PHP 7.4 #1704

Merged
merged 3 commits into from
Nov 19, 2019
Merged

Test on PHP 7.4 #1704

merged 3 commits into from
Nov 19, 2019

Conversation

deguif
Copy link
Collaborator

@deguif deguif commented Nov 18, 2019

No description provided.

@ruflin
Copy link
Owner

ruflin commented Nov 18, 2019

@deguif Could you take a look at the test failure? It might tell us actually about a potential bug?

@@ -745,7 +745,7 @@ public function testUpdateWithInvalidType()
try {
$client->updateDocument(1, $badDocument, $index->getName());
$this->fail('Tried to update using an object that is not a Document or a Script but no exception was thrown');
} catch (\Exception $e) {
} catch (\Throwable $e) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@ruflin That should fix the test. As a PHP error was thrown ;)

@ruflin ruflin merged commit 5140b1c into ruflin:master Nov 19, 2019
@ruflin
Copy link
Owner

ruflin commented Nov 19, 2019

Great to have it now also tested on 7.4

@deguif
Copy link
Collaborator Author

deguif commented Nov 19, 2019

Yes, and we will have to update the docker tag, once GA release is out.

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.

2 participants