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

Added php8 support (release 3.1.0) #47

Merged
merged 2 commits into from
Mar 20, 2021
Merged

Added php8 support (release 3.1.0) #47

merged 2 commits into from
Mar 20, 2021

Conversation

Sebb767
Copy link
Collaborator

@Sebb767 Sebb767 commented Mar 17, 2021

This commit adds PHP8 support to the contentful core. It does the
following:

  • Bump the version to 3.1.0 (new minor)
  • Add a php8 image to the CI to run the tests on php8
  • Allow PHP8 in composer.json

The code was verified against the official breaking changes guide [0].
Note that code coverage is not yet supported by phpunit on php8. As it
should be pretty much the same as on older PHP versions, however, this
is accepted for now.

[0] https://www.php.net/manual/en/migration80.php

This replaces #46 (not possible to change the target branch and this enables a -dev-release first) and #44 (no CI integration). Will be merged once the code is tested with other repos.

This commit adds PHP8 support to the contentful core. It does the
following:
- Bump the version to 3.1.0 (new minor)
- Add a php8 image to the CI to run the tests on php8
- Allow PHP8 in composer.json

The code was verified against the official breaking changes guide [0].
Note that code coverage is not yet supported by phpunit on php8. As it
should be pretty much the same as on older PHP versions, however, this
is accepted for now.

[0] https://www.php.net/manual/en/migration80.php
This was referenced Mar 17, 2021
@Sebb767 Sebb767 merged commit 2a8bb12 into master Mar 20, 2021
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.

None yet

1 participant