You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should only be rule violations for automatic variables present in the test environment. We can access a list of special variables at runtime by reflection:
Summary of the new feature
Incorrect case of automatic variables should result in a PSUseCorrectCasing rule violation.
Proposed technical implementation details (optional)
Code using
$error
should result in a rule violationReplacement with
$Error
should be suggested as a fix.What is the latest version of PSScriptAnalyzer at the point of writing
1.18.3
The text was updated successfully, but these errors were encountered: