René's URL Explorer Experiment


Title: Fixed erroneous PSUseDeclaredVarsMoreThanAssignments for some globals variables by John-Leitch · Pull Request #2013 · PowerShell/PSScriptAnalyzer · GitHub

Open Graph Title: Fixed erroneous PSUseDeclaredVarsMoreThanAssignments for some globals variables by John-Leitch · Pull Request #2013 · PowerShell/PSScriptAnalyzer

X Title: Fixed erroneous PSUseDeclaredVarsMoreThanAssignments for some globals variables by John-Leitch · Pull Request #2013 · PowerShell/PSScriptAnalyzer

Description: PR Summary This PR fixes the following longstanding issue: #1300 (Global variables are erroneously reported as "never used") The issue exists because Helper.IsVariableGlobalOrEnvironment uses an As...

Open Graph Description: PR Summary This PR fixes the following longstanding issue: #1300 (Global variables are erroneously reported as "never used") The issue exists because Helper.IsVariableGlobalOrEnvironment ...

X Description: PR Summary This PR fixes the following longstanding issue: #1300 (Global variables are erroneously reported as "never used") The issue exists because Helper.IsVariableGlobalOrEnvi...

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

X: @github

direct link

Domain: github.com

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:7be4b878-16cb-a874-c36d-77355efc36ed
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDAFE:3025F2:BA938:1025C2:696526A0
html-safe-nonce7c0f51fe3129f874e73ebb93072ea9485dc8c943f2d062b41258ad74ada3e79f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUZFOjMwMjVGMjpCQTkzODoxMDI1QzI6Njk2NTI2QTAiLCJ2aXNpdG9yX2lkIjoiNDAwNDYyMDE0Njk4NDY5MTM2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac949353d89dc363872db3a22610059f9cb503383a4aa9f0aef9542f2d16c8a850
hovercard-subject-tagpull_request:1963609625
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/2013/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ee6296301dc67485befd5366ee37b941bdeb9cb7e51f2e3dc4bc3d3c9e431ab1/PowerShell/PSScriptAnalyzer/pull/2013
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ee6296301dc67485befd5366ee37b941bdeb9cb7e51f2e3dc4bc3d3c9e431ab1/PowerShell/PSScriptAnalyzer/pull/2013
og:image:altPR Summary This PR fixes the following longstanding issue: #1300 (Global variables are erroneously reported as "never used") The issue exists because Helper.IsVariableGlobalOrEnvironment ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJohn-Leitch
hostnamegithub.com
expected-hostnamegithub.com
None817276b8a3521a687e743b852e21b1c4c62a9fabf649a41d85c1499aaa39fab1
turbo-cache-controlno-preview
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
release4a4c6d32d56fbcafaf5646e244c8989317f135a9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PSScriptAnalyzer/pull/2013#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F2013
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F2013
Sign up https://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/2013
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2013
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2013
PowerShell https://github.com/PowerShell
PSScriptAnalyzerhttps://github.com/PowerShell/PSScriptAnalyzer
Notifications https://github.com/login?return_to=%2FPowerShell%2FPSScriptAnalyzer
Fork 407 https://github.com/login?return_to=%2FPowerShell%2FPSScriptAnalyzer
Star 2.1k https://github.com/login?return_to=%2FPowerShell%2FPSScriptAnalyzer
Code https://github.com/PowerShell/PSScriptAnalyzer
Issues 394 https://github.com/PowerShell/PSScriptAnalyzer/issues
Pull requests 17 https://github.com/PowerShell/PSScriptAnalyzer/pulls
Discussions https://github.com/PowerShell/PSScriptAnalyzer/discussions
Actions https://github.com/PowerShell/PSScriptAnalyzer/actions
Projects 0 https://github.com/PowerShell/PSScriptAnalyzer/projects
Wiki https://github.com/PowerShell/PSScriptAnalyzer/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/PowerShell/PSScriptAnalyzer/security
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2013
Insights https://github.com/PowerShell/PSScriptAnalyzer/pulse
Code https://github.com/PowerShell/PSScriptAnalyzer
Issues https://github.com/PowerShell/PSScriptAnalyzer/issues
Pull requests https://github.com/PowerShell/PSScriptAnalyzer/pulls
Discussions https://github.com/PowerShell/PSScriptAnalyzer/discussions
Actions https://github.com/PowerShell/PSScriptAnalyzer/actions
Projects https://github.com/PowerShell/PSScriptAnalyzer/projects
Wiki https://github.com/PowerShell/PSScriptAnalyzer/wiki
Security https://github.com/PowerShell/PSScriptAnalyzer/security
Insights https://github.com/PowerShell/PSScriptAnalyzer/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FPowerShell%2FPSScriptAnalyzer%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FPowerShell%2FPSScriptAnalyzer%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2013#issue-comment-box
andyleejordanhttps://github.com/andyleejordan
PowerShell:mainhttps://github.com/PowerShell/PSScriptAnalyzer/tree/main
John-Leitch:masterhttps://github.com/John-Leitch/PSScriptAnalyzer/tree/master
Fixed erroneous PSUseDeclaredVarsMoreThanAssignments for some globals variables https://github.com/PowerShell/PSScriptAnalyzer/pull/2013#top
andyleejordanhttps://github.com/andyleejordan
PowerShell:mainhttps://github.com/PowerShell/PSScriptAnalyzer/tree/main
John-Leitch:masterhttps://github.com/John-Leitch/PSScriptAnalyzer/tree/master
Conversation 3 https://github.com/PowerShell/PSScriptAnalyzer/pull/2013
Commits 4 https://github.com/PowerShell/PSScriptAnalyzer/pull/2013/commits
Checks 4 https://github.com/PowerShell/PSScriptAnalyzer/pull/2013/checks
Files changed https://github.com/PowerShell/PSScriptAnalyzer/pull/2013/files
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2013
https://github.co/hiddenchars
https://github.com/PowerShell/PSScriptAnalyzer/pull/{{ revealButtonHref }}
https://github.com/John-Leitch
John-Leitchhttps://github.com/John-Leitch
Jul 11, 2024https://github.com/PowerShell/PSScriptAnalyzer/pull/2013#issue-2402127030
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2013
#1300https://github.com/PowerShell/PSScriptAnalyzer/issues/1300
PR has a meaningful titlehttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Summarized changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Change is not breakinghttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes
Make sure all .cs, .ps1 and .psm1 files have the correct copyright headerhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Work in Progresshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2013
John-Leitchhttps://github.com/John-Leitch
July 10, 2024 22:47https://github.com/PowerShell/PSScriptAnalyzer/pull/2013#commits-pushed-bdabcb0
https://github.com/John-Leitch
Fixed erroneous PSUseDeclaredVarsMoreThanAssignments for some globals.https://github.com/PowerShell/PSScriptAnalyzer/pull/2013/commits/bdabcb0e8b77ad2da7e5648b6498ca184b4efdcc
bdabcb0https://github.com/PowerShell/PSScriptAnalyzer/pull/2013/commits/bdabcb0e8b77ad2da7e5648b6498ca184b4efdcc
https://github.com/John-Leitch
Added unit tests to cover global bug in UseDeclaredVarsMoreThanAssign…https://github.com/PowerShell/PSScriptAnalyzer/pull/2013/commits/7d0530acce34762f311790705d7e57053fab8b54
7d0530ahttps://github.com/PowerShell/PSScriptAnalyzer/pull/2013/commits/7d0530acce34762f311790705d7e57053fab8b54
https://github.com/liamjpeters
liamjpetershttps://github.com/liamjpeters
Jul 11, 2024https://github.com/PowerShell/PSScriptAnalyzer/pull/2013#issuecomment-2222199536
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2013
https://github.com/bergmeister
Merge branch 'main' into masterhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2013/commits/bd78fc20767abf1577a889e9afead13abf168d50
bd78fc2https://github.com/PowerShell/PSScriptAnalyzer/pull/2013/commits/bd78fc20767abf1577a889e9afead13abf168d50
https://github.com/bergmeister
bergmeisterhttps://github.com/bergmeister
andyleejordanhttps://github.com/andyleejordan
bergmeisterhttps://github.com/bergmeister
code ownershttps://github.com/PowerShell/PSScriptAnalyzer/blob/0e4666756d64fcc47258da6ceefdffd8b6688c48/.github/CODEOWNERS#L2
February 17, 2025 20:53https://github.com/PowerShell/PSScriptAnalyzer/pull/2013#event-16338802425
https://github.com/bergmeister
bergmeisterhttps://github.com/bergmeister
Feb 17, 2025 https://github.com/PowerShell/PSScriptAnalyzer/pull/2013#pullrequestreview-2621933845
View reviewed changes https://github.com/PowerShell/PSScriptAnalyzer/pull/2013/files/a0aad6438291917aeae95564faf822fb379a190f
bergmeisterhttps://github.com/bergmeister
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2013
https://github.com/PowerShell/PSScriptAnalyzer/pull/2013#pullrequestreview-2621933845
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@andyleejordanhttps://github.com/andyleejordan
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2013
https://github.com/andyleejordan
andyleejordanhttps://github.com/andyleejordan
February 18, 2025 19:00https://github.com/PowerShell/PSScriptAnalyzer/pull/2013#event-16353920521
https://github.com/andyleejordan
andyleejordanhttps://github.com/andyleejordan
Feb 18, 2025https://github.com/PowerShell/PSScriptAnalyzer/pull/2013#issuecomment-2666659325
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2013
https://github.com/andyleejordan
andyleejordanhttps://github.com/andyleejordan
Feb 18, 2025 https://github.com/PowerShell/PSScriptAnalyzer/pull/2013#pullrequestreview-2624677726
View reviewed changes https://github.com/PowerShell/PSScriptAnalyzer/pull/2013/files/a0aad6438291917aeae95564faf822fb379a190f
https://github.com/John-Leitch
Merge branch 'main' into masterhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2013/commits/a0aad6438291917aeae95564faf822fb379a190f
a0aad64https://github.com/PowerShell/PSScriptAnalyzer/pull/2013/commits/a0aad6438291917aeae95564faf822fb379a190f
https://github.com/andyleejordan
andyleejordanhttps://github.com/andyleejordan
February 20, 2025 22:27https://github.com/PowerShell/PSScriptAnalyzer/pull/2013#event-16390111808
https://github.com/andyleejordan
andyleejordanhttps://github.com/andyleejordan
3a91195https://github.com/PowerShell/PSScriptAnalyzer/commit/3a911951fd7d8b3891b550918ecf3a9eda0d32b4
Feb 20, 2025https://github.com/PowerShell/PSScriptAnalyzer/pull/2013#event-16390123062
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2013
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%2F2013
https://github.com/andyleejordan
andyleejordan https://github.com/andyleejordan
https://github.com/PowerShell/PSScriptAnalyzer/pull/2013/files/a0aad6438291917aeae95564faf822fb379a190f
https://github.com/bergmeister
bergmeister https://github.com/bergmeister
https://github.com/PowerShell/PSScriptAnalyzer/pull/2013/files/a0aad6438291917aeae95564faf822fb379a190f
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2013
https://github.com/John-Leitch
https://github.com/liamjpeters
https://github.com/andyleejordan
https://github.com/bergmeister
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.