Repository navigation
Bump dependency StyleCop.Analyzers to 1.3.180 - #3718
Merged
Merged
Conversation
| datasource | package | from | to | | ---------- | ------------------ | ------------ | ------- | | nuget | StyleCop.Analyzers | 1.3.177-beta | 1.3.180 | Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
1.3.177-beta→1.3.180Release Notes
DotNetAnalyzers/StyleCopAnalyzers (StyleCop.Analyzers)
v1.3.180Compare Source
This is the first stable StyleCop.Analyzers release since 1.1.118. It includes the entire 1.2 beta line and the 1.3 revival: the analyzers now understand C# 8 through the C# 15 previews, many long-standing bugs are fixed, and the project is once again actively maintained. Thank you to everyone who contributed code, reviews, translations and bug reports over the long gap.
Highlights
allows ref struct, C# 14 extension blocks and thefieldkeyword, and C# 15 preview unions with theclosedandsafemodifiers, instead of ignoring that syntax or crashing on it. (#4142, #4139, #4137, #4163, #4148, #4191, #4193)?:) expressions are laid out consistently, SA1315 requires overriding and implementing parameters to keep their inherited names, SA1317 reports identifiers that use letters outside basic Latin A–Z, SA1653 reports<summary>documentation on more than one part of a partial type, and SA1654 reports escaped generic brackets increfs (for exampleList<T>vsList{T}). SX1412 is an opt-in alternative to SA1412 that requires UTF-8 without a BOM. All of these except SX1412 are on by default as warnings. (#3942, #4299, #4318, #4314, #4315, #4328).editorconfig. New settings includeorderingRules.memberKindOrder,orderingRules.accessibilityOrderandlayoutRules.allowBracelessIfStatements(bracelessifs are off by default; the accessibility order default is unchanged). (#4221, #3285, #4324, #4359, #4319)zh-CN) resources and documentation, finishes the Czech translations, and includes more translations of code-fix documentation text (Czech, Dutch, Russian and others). Rule documentation and status are published on GitHub Pages. (#4285, #4286, #3374, #3944, #3900, #4220, #4218)Behavior changes worth knowing about
Upgrading from 1.1.118, or from a 1.2 beta, may produce new or different diagnostics:
<summary>on more than one part, but ignores generated partial declarations such as WPF*.g.csfiles. (#4148, #4149, #4152, #4308, #4299, #4393)IntPtrandUIntPtrin XML documentationcrefs, or in shared source compiled for targets wherenintisn't equivalent. SA1121 and SA1125 also report System types in using alias targets. (#4287, #4395, #4175)includeInferredTupleElementNamesis off. (#4202)_forforeachvariables andusingdeclarations. (#4203)filemodifier as an access modifier. (#4198)protected readonlyfields when SA1307 is enabled. (#4217)&,|,^) and>>>. SA1408 reports??mixed with&&or||without parentheses. (#4289, #4323)extern aliasdirectives using the same placement setting asusingdirectives. (#4313)[NotNullWhen(true)] out string? foo. (#4321)maintainabilityRules.topLevelTypessetting. (#4281, #4301, #4316)documentInterfacessetting. WithdocumentInterfaces: false, public interfaces and their members are still required whendocumentExposedElementsis on. WithdocumentInterfaces: "exposed", members of interfaces that aren't actually exposed are not reported. (#3140, #4346, #4343)extern alias. (#4341)?and:lines line up and are indented past the condition's last line. The SA1143 code fix keeps multi-line branches intact. (#4336, #4374, #4392).symbols.nupkgis gone, because PDBs are now embedded in the DLLs. (#4173)All changes
Fixes
!) by @pantosha in #3071Configuration
📅 Schedule: (in timezone Europe/London)
* 5-21 * * MON-FRI)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.