fixing php 8.2 deprecations#30997
Conversation
fixes various dynamic property deprecations in the tests themselves
at() matcher is deprecated, to be removed in phpunit 10. switch to withConsecutive
this resolves "Creation of dynamic property Grpc\Call::$channel is deprecated" in php 8.2
|
@stanley-cheung I think you're the right person to review this PR for me. |
implicit casting from float to int is deprecated from 8.1, so users would receive a deprecation warning if trying to do this
|
Sorry for the delay. Wasn't aware of this until just now. Will look into this. Thanks for helping fix this. |
|
@brettmc Can I confirm that, once this PR is patched in, |
|
@stanley-cheung - confirming that both |
stanley-cheung
left a comment
There was a problem hiding this comment.
LGTM. Thanks for the contributions!
|
2a6cf72 |
|
Hi @gsdaemon |
PHP 8.2 RC's are out, and grpc complains that
Creation of dynamic property Grpc\Call::$channel is deprecated.Adding a property for
channelresolves this, and I also fixed a bunch of deprecations and minor issues in the tests themselves.