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

A couple of code tidies left over from PR #1499 #1502

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

spadger
Copy link
Contributor

@spadger spadger commented Feb 5, 2025

Fixes a couple of style issues from #1499

@spadger spadger requested a review from a team as a code owner February 5, 2025 13:54
Copy link

codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.76%. Comparing base (31d902b) to head (904d76a).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             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     
Flag Coverage Δ
8.1 70.47% <100.00%> (+0.01%) ⬆️
8.2 70.67% <100.00%> (+0.01%) ⬆️
8.3 70.71% <100.00%> (-0.01%) ⬇️
8.4 70.69% <100.00%> (+0.05%) ⬆️
8.5 ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/Contrib/Grpc/GrpcTransportFactory.php 71.79% <100.00%> (ø)

... and 5 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 31d902b...904d76a. Read the comment docs.

@brettmc brettmc merged commit 5d24db8 into open-telemetry:main Feb 5, 2025
11 checks passed
@brettmc
Copy link
Collaborator

brettmc commented Feb 5, 2025

Released a new version with latest changes...

@spadger
Copy link
Contributor Author

spadger commented Feb 5, 2025

Thanks :)

@@ -81,13 +82,12 @@ public function create(
$opts,
$method,
$headers,
(int) ($timeout * 1000),
(int) ($timeout * ClockInterface::MILLIS_PER_SECOND),
Copy link
Contributor

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).

Copy link
Collaborator

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.

@spadger
Copy link
Contributor Author

spadger commented Feb 7, 2025 via email

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.

3 participants