René's URL Explorer Experiment


Title: Fix UseDeclaredVarsMoreThanAssignment rule by kapilmb · Pull Request #655 · PowerShell/PSScriptAnalyzer · GitHub

Open Graph Title: Fix UseDeclaredVarsMoreThanAssignment rule by kapilmb · Pull Request #655 · PowerShell/PSScriptAnalyzer

X Title: Fix UseDeclaredVarsMoreThanAssignment rule by kapilmb · Pull Request #655 · PowerShell/PSScriptAnalyzer

Description: Download ScriptAnalyzer from PowerShellGallery. Contribute to PowerShell/PSScriptAnalyzer development by creating an account on GitHub.

Open Graph Description: Consider the following case: $a = 1 1..5 | ForEach-Object {$a = 2} $a In this case, the rule would flag the assignment in the ForEach-Object block. This commit fixes this issue. Resolves #636 Thi...

X Description: Consider the following case: $a = 1 1..5 | ForEach-Object {$a = 2} $a In this case, the rule would flag the assignment in the ForEach-Object block. This commit fixes this issue. Resolves #636 Thi...

Opengraph URL: https://github.com/PowerShell/PSScriptAnalyzer/pull/655

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:4f328782-fb69-481d-4029-2f6733a11817
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE2DC:2EA255:100CFF:153103:6AFCFD49
html-safe-nonce813a369a31783ec9f2a3a6205343fef0ce737eceafce33a2c48b83d261d9d118
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkRDOjJFQTI1NToxMDBDRkY6MTUzMTAzOjZBRkNGRDQ5IiwidmlzaXRvcl9pZCI6IjYyNTgxMDQxODkxNzIxMjA5MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac95ce52ab0fc532127f0bd330274a311dd2ed31804318d61da70194b8688732b5
hovercard-subject-tagpull_request:94262276
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PSScriptAnalyzer/655/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/93f05df2ed7f04ccded3054404566d70bc94c603ff9a12a3af431d021e3f2f69/PowerShell/PSScriptAnalyzer/pull/655
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/93f05df2ed7f04ccded3054404566d70bc94c603ff9a12a3af431d021e3f2f69/PowerShell/PSScriptAnalyzer/pull/655
og:image:altConsider the following case: $a = 1 1..5 | ForEach-Object {$a = 2} $a In this case, the rule would flag the assignment in the ForEach-Object block. This commit fixes this issue. Resolves #636 Thi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekapilmb
hostnamegithub.com
expected-hostnamegithub.com
Nonecfabad6ee26d2b84c7afef4ae0cc71b8b692fb9d66f9f15997652ef991bfd3f4
turbo-cache-controlno-cache
go-importgithub.com/PowerShell/PSScriptAnalyzer git https://github.com/PowerShell/PSScriptAnalyzer.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id33149177
octolytics-dimension-repository_nwoPowerShell/PSScriptAnalyzer
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id33149177
octolytics-dimension-repository_network_root_nwoPowerShell/PSScriptAnalyzer
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release35f85b78676038389558a41adf8d76e474592ede
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/PowerShell/PSScriptAnalyzer/pull/655#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F655
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F655
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPSScriptAnalyzer
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/655
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/655
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/655
PowerShellhttps://github.com/PowerShell
PSScriptAnalyzerhttps://github.com/PowerShell/PSScriptAnalyzer
Codehttps://github.com/PowerShell/PSScriptAnalyzer
Issues407 (407)https://github.com/PowerShell/PSScriptAnalyzer/issues
Pull requests34 (34)https://github.com/PowerShell/PSScriptAnalyzer/pulls
Discussionshttps://github.com/PowerShell/PSScriptAnalyzer/discussions
Actionshttps://github.com/PowerShell/PSScriptAnalyzer/actions
Projectshttps://github.com/PowerShell/PSScriptAnalyzer/projects
Wikihttps://github.com/PowerShell/PSScriptAnalyzer/wiki
Security and qualityhttps://github.com/PowerShell/PSScriptAnalyzer/security
Insightshttps://github.com/PowerShell/PSScriptAnalyzer/insights
https://github.com/PowerShell/PSScriptAnalyzer
Kapil Borle (kapilmb)https://github.com/kapilmb
developmenthttps://github.com/PowerShell/PSScriptAnalyzer/tree/development
kapilmb/FixUseDeclaredVarshttps://github.com/PowerShell/PSScriptAnalyzer/tree/kapilmb/FixUseDeclaredVars
Conversationhttps://github.com/PowerShell/PSScriptAnalyzer/pull/655
Commits4 (4)https://github.com/PowerShell/PSScriptAnalyzer/pull/655/commits
Checkshttps://github.com/PowerShell/PSScriptAnalyzer/pull/655/checks
Files changedhttps://github.com/PowerShell/PSScriptAnalyzer/pull/655/files
Fix UseDeclaredVarsMoreThanAssignment rulehttps://github.com/PowerShell/PSScriptAnalyzer/pull/655#top
Kapil Borle (kapilmb)https://github.com/kapilmb
developmenthttps://github.com/PowerShell/PSScriptAnalyzer/tree/development
kapilmb/FixUseDeclaredVarshttps://github.com/PowerShell/PSScriptAnalyzer/tree/kapilmb/FixUseDeclaredVars
https://github.com/kapilmb
Kapil Borle (kapilmb)https://github.com/kapilmb
Nov 17, 2016https://github.com/PowerShell/PSScriptAnalyzer/pull/655#issue-190179778
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/655
#636https://github.com/PowerShell/PSScriptAnalyzer/issues/636
https://reviewable.io/reviews/powershell/psscriptanalyzer/655
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/655
November 15, 2016 20:09https://github.com/PowerShell/PSScriptAnalyzer/pull/655#commits-pushed-98d0daa
UseDeclareVarsMoreThanAssign rule checks nested variableshttps://github.com/PowerShell/PSScriptAnalyzer/pull/655/commits/98d0daa2ea4de0b8d91fb1c1da07b1f334af87fb
98d0daahttps://github.com/PowerShell/PSScriptAnalyzer/pull/655/commits/98d0daa2ea4de0b8d91fb1c1da07b1f334af87fb
Remove key removal in UseDeclaredVarsMoreThanAssignhttps://github.com/PowerShell/PSScriptAnalyzer/pull/655/commits/3f3dbb77ccb06f78ab5e389f4cd4daa6268975be
3f3dbb7https://github.com/PowerShell/PSScriptAnalyzer/pull/655/commits/3f3dbb77ccb06f78ab5e389f4cd4daa6268975be
Update UseDeclaredVarsMoreThanAssignments testshttps://github.com/PowerShell/PSScriptAnalyzer/pull/655/commits/9f7807d47eb1c877d91e1dc0837724541b03554d
9f7807dhttps://github.com/PowerShell/PSScriptAnalyzer/pull/655/commits/9f7807d47eb1c877d91e1dc0837724541b03554d
Move tests in UseDeclaredVarsMoreThanAssignment rulehttps://github.com/PowerShell/PSScriptAnalyzer/pull/655/commits/eb0b11a447cb6f0d2f6533b75ae8c249026b93bb
eb0b11ahttps://github.com/PowerShell/PSScriptAnalyzer/pull/655/commits/eb0b11a447cb6f0d2f6533b75ae8c249026b93bb
https://github.com/msftclas
Microsoft Contribution License Agreements (msftclas)https://github.com/msftclas
cla-not-required https://github.com/PowerShell/PSScriptAnalyzer/issues?q=state%3Aopen%20label%3Acla-not-required
Nov 17, 2016https://github.com/PowerShell/PSScriptAnalyzer/pull/655#event-863566456
https://github.com/kapilmb
Kapil Borle (kapilmb)https://github.com/kapilmb
in progress https://github.com/PowerShell/PSScriptAnalyzer/issues?q=state%3Aopen%20label%3A%22in%20progress%22
Nov 17, 2016https://github.com/PowerShell/PSScriptAnalyzer/pull/655#event-863566519
https://github.com/kapilmb
Kapil Borle (kapilmb)https://github.com/kapilmb
Dec 2, 2016 https://github.com/PowerShell/PSScriptAnalyzer/pull/655#ref-issue-182816347
Question about 'PSUseDeclaredVarsMoreThanAssignment' rule #636 https://github.com/PowerShell/PSScriptAnalyzer/issues/636
https://github.com/msftgits
Microsoft GitHub User (msftgits)https://github.com/msftgits
cla-not-required https://github.com/PowerShell/PSScriptAnalyzer/issues?q=state%3Aopen%20label%3Acla-not-required
Sep 26, 2017https://github.com/PowerShell/PSScriptAnalyzer/pull/655#event-1265159788
https://github.com/kapilmb
Kapil Borle (kapilmb)https://github.com/kapilmb
Nov 8, 2017https://github.com/PowerShell/PSScriptAnalyzer/pull/655#issuecomment-342686922
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/655
https://github.com/kapilmb
Kapil Borle (kapilmb)https://github.com/kapilmb
Nov 8, 2017https://github.com/PowerShell/PSScriptAnalyzer/pull/655#event-1330995191
https://github.com/kapilmb
Kapil Borle (kapilmb)https://github.com/kapilmb
November 8, 2017 02:09https://github.com/PowerShell/PSScriptAnalyzer/pull/655#event-1330995527
https://github.co/hiddenchars
https://github.com/PowerShell/PSScriptAnalyzer/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F655
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/655
in progress https://github.com/PowerShell/PSScriptAnalyzer/issues?q=state%3Aopen%20label%3A%22in%20progress%22
Question about 'PSUseDeclaredVarsMoreThanAssignment' rule https://github.com/PowerShell/PSScriptAnalyzer/issues/636
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/655
https://github.com/kapilmb
https://github.com/msftclas
https://github.com/msftgits
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.