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

Support PHP 8.1 #25

Merged
merged 1 commit into from
Jun 2, 2022
Merged

Support PHP 8.1 #25

merged 1 commit into from
Jun 2, 2022

Conversation

slt
Copy link
Contributor

@slt slt commented Jan 4, 2022

These were the changes I had to make to get my app working on PHP 8.1, around the Iterable interface

Will also require a gotime patch dcarbone/gotime#1

@slt slt force-pushed the php81 branch 2 times, most recently from 0a4d021 to 3964596 Compare January 11, 2022 04:02
@slt slt requested a review from dcarbone as a code owner June 1, 2022 23:53
PHP Fatal error:  During inheritance of Iterator:
Uncaught ErrorException: Return type of DCarbone\PHPConsulAPI\Values::current()
should either be compatible with Iterator::current(): mixed, or the
\#[\ReturnTypeWillChange] attribute should be used to temporarily
suppress the notice in /code/vendor/dcarbone/php-consul-api/src/Values.php:104
@slt
Copy link
Contributor Author

slt commented Jun 2, 2022

I've rebased this on current master Thanks

@dcarbone dcarbone merged commit e1eb21e into dcarbone:master Jun 2, 2022
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.

2 participants