-
-
Notifications
You must be signed in to change notification settings - Fork 586
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
Allow installing and build on PHP 8 #1267
Conversation
sanmai
commented
Nov 12, 2020
•
edited
Loading
edited
Q | A |
---|---|
Bug fix? | yes |
New feature? | no |
Doc updated | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | Fixes #1270 |
License | MIT |
This comment has been minimized.
This comment has been minimized.
$previousEntityLoaderState = libxml_disable_entity_loader($this->disableExternalEntities); | ||
if (\LIBXML_VERSION < 20900) { | ||
$previousEntityLoaderState = libxml_disable_entity_loader($this->disableExternalEntities); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as of libxml 2.9.0 entity substitution is disabled by default, so there is no need to disable the loading of external entities.
https://www.php.net/manual/en/function.libxml-disable-entity-loader.php
Build is green: https://travis-ci.com/github/sanmai/serializer/builds/200201670 Scrutinizer's build is borked but that's not my fault. |
GitHub Workflows are working: https://github.com/sanmai/serializer/pull/2/checks?check_run_id=1388349508 I think I'll be done for now. If there's anything, please ask away. |
@goetas sorry about pinging. Will it help to split this into parts? Say, GitHub Workflows can go in a separate PR. Travis CI can stop working at any given moment. |
thanks a lot! |
Happy to help! Would you mind punching out a new release? |