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

Use PHP 7.3 compatible html dom parser #80

Merged
merged 1 commit into from
Sep 16, 2019
Merged

Use PHP 7.3 compatible html dom parser #80

merged 1 commit into from
Sep 16, 2019

Conversation

NoodlesNZ
Copy link
Contributor

Motivation

Which issue does this fix? Fixes #79

Checklist

  • Code follows coding conventions held in this repo
  • Automated tests have been added
  • Tests are passing
  • Docs have been updated (if applicable)
  • Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

How to test

Use DeliveryClient::getItem() on a PHP 7.3 system. It should not throw tons of warnings.

The sunra package for php-simple-html-dom-parser is not being actively maintained. This PR changes it to another package which is maintained. It still uses the same underlying code from Sourceforge, but a later version which has fixes for PHP 7.3.

@NoodlesNZ NoodlesNZ requested a review from Simply007 as a code owner August 21, 2019 03:25
Copy link
Contributor

@Simply007 Simply007 left a comment

Choose a reason for hiding this comment

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

Thank you @NoodlesNZ for the fix!

Would it be possible to add PHP 7.3 environment to travis.yml as a part of this pull request to run the tests in this environment on the CI pipeline?

Add PHP 7.2 and 7.3 to Travis config
@NoodlesNZ
Copy link
Contributor Author

Thanks @Simply007, I added PHP 7.2 and 7.3 to the Travis config just for completeness.

@Simply007 Simply007 self-requested a review September 16, 2019 14:51
Copy link
Contributor

@Simply007 Simply007 left a comment

Choose a reason for hiding this comment

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

Everything looks fine - thank you for the pull request!

@Simply007 Simply007 merged commit df3a95a into kontent-ai:master Sep 16, 2019
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.

PHP v7.3 is unsupported
2 participants