René's URL Explorer Experiment


Title: PSUseDeclaredVarsMoreThanAssignments does not detect variables with multiple assignments · Issue #833 · PowerShell/PSScriptAnalyzer · GitHub

Open Graph Title: PSUseDeclaredVarsMoreThanAssignments does not detect variables with multiple assignments · Issue #833 · PowerShell/PSScriptAnalyzer

X Title: PSUseDeclaredVarsMoreThanAssignments does not detect variables with multiple assignments · Issue #833 · PowerShell/PSScriptAnalyzer

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

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

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

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PSUseDeclaredVarsMoreThanAssignments does not detect variables with multiple assignments","articleBody":"PSScriptAnalyzer correctly displays `PSUseDeclaredVarsMoreThanAssignments` given the following code:\r\n\r\n`$someVariable = 'some value'`\r\n\r\nHowever, we can prevent this by declaring a type for variable a type.  e.g.\r\n\r\n```\r\n$someVariable = 'some value'\r\n$someVariable = 'some value'\r\n```\r\n","author":{"url":"https://github.com/JohnLBevan","@type":"Person","name":"JohnLBevan"},"datePublished":"2017-11-24T11:32:26Z","url":"https://github.com/PowerShell/PSScriptAnalyzer/issues/833"}

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/:user_id/:repository/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:6f2f72df-9d1e-7dd4-e117-f26609464768
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB830:2A130F:1E0C060:29C35DC:6AFD0CA1
html-safe-nonce5c97eb29652ca784613738925745ffe276d196637dc6899b91c8d102a9043e46
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODMwOjJBMTMwRjoxRTBDMDYwOjI5QzM1REM6NkFGRDBDQTEiLCJ2aXNpdG9yX2lkIjoiNTIyMTE3NTIzNDI0MDc3NzM3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbe1f2dec1fdd7c2222d0acef524a8fb6d746567662c06cd215571ac6eb2d6e1b
hovercard-subject-tagrepository:33149177
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/PowerShell/PSScriptAnalyzer/issues/833
twitter:imagehttps://repository-images.githubusercontent.com/33149177/18c68000-a5b0-11e9-9d88-c03ff0e21635
twitter:cardsummary_large_image
og:imagehttps://repository-images.githubusercontent.com/33149177/18c68000-a5b0-11e9-9d88-c03ff0e21635
og:image:altDownload ScriptAnalyzer from PowerShellGallery. Contribute to PowerShell/PSScriptAnalyzer development by creating an account on GitHub.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb29de2abb97b6307b16270785efeb58b51a117d5a9b659acf00b77aa00e7043b
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
release8c9e619def6d670dc18a45d3b02cea938c1c7e47
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PSScriptAnalyzer/issues/833#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fissues%2F833
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%2Fissues%2F833
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=PowerShell%2FPSScriptAnalyzer
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/issues/833
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/issues/833
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/issues/833
https://github.com/PowerShell/PSScriptAnalyzer
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PSScriptAnalyzer/issues/833
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PSScriptAnalyzer/issues/833
PSUseDeclaredVarsMoreThanAssignments does not detect variables with multiple assignmentshttps://github.com/PowerShell/PSScriptAnalyzer/issues/833#top
https://github.com/JohnLBevan
John Bevan (JohnLBevan)https://github.com/JohnLBevan
on Nov 24, 2017https://github.com/PowerShell/PSScriptAnalyzer/issues/833#issue-276590984
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
on Dec 2, 2017https://github.com/PowerShell/PSScriptAnalyzer/issues/833#issuecomment-348723146
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
on Dec 3, 2017https://github.com/PowerShell/PSScriptAnalyzer/issues/833#event-1369259697
Fix PSUseDeclaredVarsMoreThanAssignments when variable is assigned mo…https://github.com/bergmeister/PSScriptAnalyzer/commit/667aea52e82fc04c6461970e74214c2a2c224fd1
667aea5https://github.com/bergmeister/PSScriptAnalyzer/commit/667aea52e82fc04c6461970e74214c2a2c224fd1
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
on Jan 20, 2018https://github.com/PowerShell/PSScriptAnalyzer/issues/833#issuecomment-359192079
James Truher (@JamesWTruher)https://github.com/JamesWTruher
https://github.com/JamesWTruher
James Truher (JamesWTruher)https://github.com/JamesWTruher
on Jan 22, 2018https://github.com/PowerShell/PSScriptAnalyzer/issues/833#issuecomment-359584721
John Bevan (@JohnLBevan)https://github.com/JohnLBevan
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
on Jan 22, 2018https://github.com/PowerShell/PSScriptAnalyzer/issues/833#issuecomment-359589183
James Truher (@JamesWTruher)https://github.com/JamesWTruher
John Bevan (JohnLBevan)https://github.com/JohnLBevan
completedhttps://github.com/PowerShell/PSScriptAnalyzer/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 23, 2018https://github.com/PowerShell/PSScriptAnalyzer/issues/833#event-1437942595
Rob Holt (rjmholt)https://github.com/rjmholt
on Feb 23, 2026https://github.com/PowerShell/PSScriptAnalyzer/issues/833#event-22990528048
Fix PSUseDeclaredVarsMoreThanAssignments when variable is assigned mo…https://github.com/rjmholt/Specter/commit/3a61ca927766ba5de7db33a54f967e6479d4ae72
3a61ca9https://github.com/rjmholt/Specter/commit/3a61ca927766ba5de7db33a54f967e6479d4ae72
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PSScriptAnalyzer/issues/833
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PSScriptAnalyzer/issues/833
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.