| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Thanks, I think it's best to fix the code like you did rather than documentation because for this rule, violations result in code that won't even run.
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks!
Sorry, something went wrong.
| /// Gets the severity of the returned diagnostic record: error, warning, or information. | ||
| /// </summary> | ||
| /// <returns></returns> | ||
| public DiagnosticSeverity GetDiagnosticSeverity() |
There was a problem hiding this comment.
Why do we need a whoel function for this?
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
PSScriptAnalyzer reports PSReservedParams as warning but according to the documentation it's an error.
This PR makes the rule report as an error and fixes up tests that expect there to be 7 rules with an error severity (this makes it 8).
Resolves #1973
PR Checklist