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

Fix warning CA1062#IPolicyWrapExtension #2229

Conversation

Zombach
Copy link
Contributor

@Zombach Zombach commented Jul 22, 2024

Pull Request

The issue or feature being addressed

#2215

Details on the issue fix or feature implementation

  • Suppress CA1062 in src/Polly/Wrap/IPolicyWrapExtension.cs or fix the warning

Confirm the following

  • I started this PR by branching from the head of the default branch
  • I have targeted the PR to merge into the default branch
  • I have included unit tests for the issue/feature

and fix S4456 Parameter validation in yielding methods should be wrapped https://rules.sonarsource.com/csharp/RSPEC-4456
Copy link

codecov bot commented Jul 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.99%. Comparing base (c07cc48) to head (a7cfefa).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2229   +/-   ##
=======================================
  Coverage   83.98%   83.99%           
=======================================
  Files         313      313           
  Lines        7219     7222    +3     
  Branches     1074     1075    +1     
=======================================
+ Hits         6063     6066    +3     
  Misses        785      785           
  Partials      371      371           
Flag Coverage Δ
linux 83.99% <100.00%> (+<0.01%) ⬆️
macos 83.99% <100.00%> (+<0.01%) ⬆️
windows 83.99% <100.00%> (+<0.01%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@martincostello martincostello merged commit b703130 into App-vNext:main Jul 23, 2024
18 checks passed
@Zombach Zombach deleted the zombach/remove-warning-ca1062#i-policy-wrap-extension branch July 23, 2024 07:23
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.

2 participants