Skip to content

Avoid variable names that conflict with automatic variables part 2 - #11559

Merged
Ilya (iSazonov) merged 3 commits into
PowerShell:masterfrom
xtqqczze:AvoidAssignmentToAutomaticVariable2
Jan 13, 2020
Merged

Ilya (iSazonov) merged 3 commits into
PowerShell:masterfrom
xtqqczze:AvoidAssignmentToAutomaticVariable2

Conversation

@xtqqczze

Copy link
Copy Markdown
Contributor

PR Summary

PR Context

Variable names such as $error cause a PSScriptAnalyzer rule violation of type AvoidAssignmentToAutomaticVariable.

PR Checklist

@xtqqczze
xtqqczze force-pushed the AvoidAssignmentToAutomaticVariable2 branch 2 times, most recently from 430fee5 to d0f77a4 Compare January 11, 2020 18:33
@xtqqczze
xtqqczze force-pushed the AvoidAssignmentToAutomaticVariable2 branch from d0f77a4 to 375cf08 Compare January 11, 2020 22:36
@xtqqczze

Copy link
Copy Markdown
Contributor Author

Andrew (@anmenaga) can you review?

@iSazonov Ilya (iSazonov) added the CL-Test Indicates that a PR should be marked as a test change in the Change Log label Jan 13, 2020
@iSazonov Ilya (iSazonov) added this to the 7.1.0-preview.1 milestone Jan 13, 2020
@iSazonov
Ilya (iSazonov) merged commit 7d0e9f1 into PowerShell:master Jan 13, 2020
@iSazonov Ilya (iSazonov) changed the title Avoid variable names that conflict with automatic variables part2 Avoid variable names that conflict with automatic variables part 2 Jan 13, 2020
@iSazonov

Copy link
Copy Markdown
Collaborator

xtqqczze Thanks for your contribution!

@ghost

Copy link
Copy Markdown

🎉v7.1.0-preview.1 has been released which incorporates this pull request.:tada:

Handy links:

@xtqqczze
xtqqczze deleted the AvoidAssignmentToAutomaticVariable2 branch April 6, 2020 20:23
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-Test Indicates that a PR should be marked as a test change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants