Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Add support for PHP 8 - #157

Merged
thecodeassassin merged 4 commits into
influxdata:masterfrom
zorac:php8
Dec 26, 2020
Merged

thecodeassassin merged 4 commits into
influxdata:masterfrom
zorac:php8

Conversation

@zorac

@zorac zorac commented Dec 17, 2020

Copy link
Copy Markdown
Contributor

This adds 8.0 to the supported versions in composer.json. No client code updates appear to be required.

This also upgrades to PHPUnit 9.5, which is the lowest version supporting both tests and code coverage on PHP 8, and adds a plugin to provide an assertion which was removed from the base project. The configuration file and tests have been updated to replace deprecations and now pass cleanly. The Travis config was also updated to test on PHP 7.3-8.0, the versions supported by PHPUnit 9.

@zorac zorac mentioned this pull request Dec 17, 2020
@pvsaintpe

Copy link
Copy Markdown

Greetings dear authors/contributors,

@thecodeassassin, @danibrutal, @andreyvital, @Nyholm, and more ...

I appeal to those who can merge, please, push this pull request to the master.

I really need support for PHP 8.0, and I really don't want to fork and insert crutches into my project.

Thank you in advance.

@thecodeassassin
thecodeassassin merged commit d6e59f4 into influxdata:master Dec 26, 2020
@zorac
zorac deleted the php8 branch September 5, 2025 14:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants