-
Notifications
You must be signed in to change notification settings - Fork 194
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
A couple of code tidies left over from PR #1499 #1502
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1502 +/- ##
============================================
+ Coverage 70.73% 70.76% +0.02%
Complexity 2762 2762
============================================
Files 408 408
Lines 8344 8342 -2
============================================
+ Hits 5902 5903 +1
+ Misses 2442 2439 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 5 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Released a new version with latest changes... |
Thanks :) |
@@ -81,13 +82,12 @@ public function create( | |||
$opts, | |||
$method, | |||
$headers, | |||
(int) ($timeout * 1000), | |||
(int) ($timeout * ClockInterface::MILLIS_PER_SECOND), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦 sorry, just realised that this causes a dependency on API 1.2.1 (see here).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugh, yeah. Let's create a local const in GrpcTransportFactory for now.
Do you need me to do anything?
…On Fri, 7 Feb 2025, 15:45 Chris Lightfoot-Wild, ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In src/Contrib/Grpc/GrpcTransportFactory.php
<#1502 (comment)>
:
> @@ -81,13 +82,12 @@ public function create(
$opts,
$method,
$headers,
- (int) ($timeout * 1000),
+ (int) ($timeout * ClockInterface::MILLIS_PER_SECOND),
🤦 sorry, just realised that this causes a dependency on API 1.2.1 (see
here
<https://github.com/opentelemetry-php/api/blob/1.2.1/Common/Time/ClockInterface.php#L12>
).
—
Reply to this email directly, view it on GitHub
<#1502 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABU5LCKVPBFKI4TV6FF74D2OTIIDAVCNFSM6AAAAABWRED4ZWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDMMBSGA4TIOJRGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Fixes a couple of style issues from #1499