AvoidLongLines: Make internal function DiagnosticSeverity private by bergmeister · Pull Request #1851 · PowerShell/PSScriptAnalyzer

PR Summary

Code analysis showed that this function is only used by the rule itself, therefore it shouldn't have been public. No change of behavior. Technically breaking but this method was never intended to be public and other rules do not have public methods to return the DiagnosticSeverity they will emit, in fact depending on the analysis they might be different.

PR Checklist