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

Allow installing and build on PHP 8 #1267

Merged
merged 7 commits into from
Dec 2, 2020
Merged

Conversation

sanmai
Copy link
Contributor

@sanmai sanmai commented Nov 12, 2020

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

@sanmai

This comment has been minimized.

$previousEntityLoaderState = libxml_disable_entity_loader($this->disableExternalEntities);
if (\LIBXML_VERSION < 20900) {
$previousEntityLoaderState = libxml_disable_entity_loader($this->disableExternalEntities);
}
Copy link
Contributor Author

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

@sanmai
Copy link
Contributor Author

sanmai commented Nov 12, 2020

Build is green: https://travis-ci.com/github/sanmai/serializer/builds/200201670

Scrutinizer's build is borked but that's not my fault.

@sanmai
Copy link
Contributor Author

sanmai commented Nov 12, 2020

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.

@sanmai
Copy link
Contributor Author

sanmai commented Nov 30, 2020

@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.

@goetas goetas merged commit a43f5a7 into schmittjoh:master Dec 2, 2020
@goetas
Copy link
Collaborator

goetas commented Dec 2, 2020

thanks a lot!

@sanmai
Copy link
Contributor Author

sanmai commented Dec 21, 2020

Happy to help! Would you mind punching out a new release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make jms/serializer installable on PHP 8
2 participants