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

Ability to override protocol version #3

Merged
merged 2 commits into from
Apr 3, 2022

Conversation

Guuzen
Copy link
Contributor

@Guuzen Guuzen commented Mar 28, 2022

Protocol version overriding does not work.

@codecov
Copy link

codecov bot commented Mar 28, 2022

Codecov Report

Merging #3 (bb508aa) into v5.1 (41132d6) will decrease coverage by 1.54%.
The diff coverage is 50.00%.

@@             Coverage Diff              @@
##               v5.1       #3      +/-   ##
============================================
- Coverage     75.92%   74.38%   -1.55%     
- Complexity       47       48       +1     
============================================
  Files            11       10       -1     
  Lines           216      203      -13     
============================================
- Hits            164      151      -13     
  Misses           52       52              
Impacted Files Coverage Δ
src/Artax/ArtaxHttpClient.php 86.58% <50.00%> (+1.70%) ⬆️
.php-cs-fixer.dist.php 0.00% <0.00%> (ø)
src/RequestContext.php 100.00% <0.00%> (ø)
src/Artax/functions.php 100.00% <0.00%> (ø)
src/HttpMethod.php

Continue to review full report at Codecov.

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

Comment on lines +4 to +7
ignoreErrors:
-
message: '#does not accept array<string, array\|string>#'
path: %currentWorkingDirectory%/src/HttpRequest.php
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fixed in phpstan/phpstan#6927
so we can remove it after update phpstan.

@mmasiukevich mmasiukevich merged commit d7a48e5 into php-service-bus:v5.1 Apr 3, 2022
@Guuzen Guuzen deleted the override-protocol branch April 4, 2022 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants