[go: nahoru, domu]

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

Removes return type unwrap #220

Merged
merged 1 commit into from
Nov 4, 2021
Merged

Removes return type unwrap #220

merged 1 commit into from
Nov 4, 2021

Conversation

jcchavezs
Copy link
Contributor
@jcchavezs jcchavezs commented Nov 4, 2021

This is needed because we can't do any guarantee about the types of underlying request/response models, e.g. in PSR we would use an object but in Symfony Client it is most likely be an array (see https://github.com/symfony/contracts/blob/v2.4.0/HttpClient/HttpClientInterface.php#L86), hence removing the optional object constraint.

@coveralls
Copy link
coveralls commented Nov 4, 2021

Pull Request Test Coverage Report for Build #578

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 455 unchanged lines in 38 files lost coverage.
  • Overall coverage decreased (-47.6%) to 32.218%

Files with Coverage Reduction New Missed Lines %
src/Zipkin/DefaultErrorParser.php 1 0%
src/Zipkin/DefaultTracing.php 1 87.5%
src/Zipkin/Instrumentation/Http/Client/Psr18/Propagation/RequestHeaders.php 1 0%
src/Zipkin/Instrumentation/Http/Server/Psr15/Request.php 1 71.43%
src/Zipkin/Propagation/Exceptions/InvalidPropagationKey.php 1 0%
src/Zipkin/Samplers/BinarySampler.php 1 80.0%
src/Zipkin/Timestamp.php 1 50.0%
src/Zipkin/Instrumentation/Http/Server/DefaultHttpServerParser.php 2 77.78%
src/Zipkin/Instrumentation/Http/Server/Psr15/Response.php 2 66.67%
src/Zipkin/Propagation/RequestHeaders.php 2 33.33%
Totals Coverage Status
Change from base Build #567: -47.6%
Covered Lines: 308
Relevant Lines: 956

💛 - Coveralls

This is needed because we can't do any guarantee about the types of underlying request/response models, e.g. in PSR we would use an object but in Symfony Clien it is mostlikely be an array, hence removing the optional object constraint.
@jcchavezs jcchavezs merged commit df7be29 into master Nov 4, 2021
@jcchavezs jcchavezs deleted the removes_return_type_unwrap branch November 4, 2021 10:26
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.

None yet

2 participants