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

fix: PHP 8.1 deprecation warning #109

Merged
merged 2 commits into from
Jan 11, 2022
Merged

fix: PHP 8.1 deprecation warning #109

merged 2 commits into from
Jan 11, 2022

Conversation

bednar
Copy link
Contributor

@bednar bednar commented Jan 7, 2022

Closes #108

Proposed Changes

Fixed deprecation warning ArrayAccess.

The public function offsetGet($offset) cannot be changed to public offsetGet(mixed $offset): mixed because the mixed is supported as type from PHP 8.0.

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • make test completes successfully
  • Commit messages are in semantic format
  • Sign CLA (if not already signed)

@bednar bednar requested a review from rhajek January 7, 2022 09:58
@bednar bednar marked this pull request as ready for review January 7, 2022 09:58
@bednar bednar merged commit 177f780 into master Jan 11, 2022
@bednar bednar deleted the fix/deprecation branch January 11, 2022 07:42
@bednar bednar added this to the 2.5.0 milestone Jan 11, 2022
peynman pushed a commit to peynman/influxdb-client-php that referenced this pull request Mar 7, 2023
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.

Deprecation warning when using PHP 8.1+
2 participants