| react-profiling | 0 |
| react-import-map | react,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/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7dda664e-12fe-fa81-1da8-5d0b7fb42ed6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B1BA:B4AA9:A5FB1:DAD15:6AFD0C5B |
| html-safe-nonce | 954b1fec785858e5909641b89af62cb1afd8755f346d0ca99024d7eb1fc662a6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUJBOkI0QUE5OkE1RkIxOkRBRDE1OjZBRkQwQzVCIiwidmlzaXRvcl9pZCI6IjY4OTI1MDIyNTA3MDcyOTEyMjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 108f0da3e84368006d8d3d9569b665baf1b002316afe9c056ca6749337efe04b |
| hovercard-subject-tag | pull_request:175093202 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files |
| twitter:image | https://avatars.githubusercontent.com/u/9250262?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/9250262?s=400&v=4 |
| og:image:alt | PR Summary
Fixes #806 and #904
It is well know that PowerShell's += operator always creates a new array under the hood even if the array type is not of fixed size.
Because SSA (single statemen... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b29de2abb97b6307b16270785efeb58b51a117d5a9b659acf00b77aa00e7043b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/PowerShell/PSScriptAnalyzer git https://github.com/PowerShell/PSScriptAnalyzer.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 33149177 |
| octolytics-dimension-repository_nwo | PowerShell/PSScriptAnalyzer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33149177 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PSScriptAnalyzer |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c9e619def6d670dc18a45d3b02cea938c1c7e47 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F933%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F933%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=PowerShell%2FPSScriptAnalyzer |
| Reload | https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files |
| Reload | https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files |
| Reload | https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files |
| PowerShell | https://github.com/PowerShell |
| PSScriptAnalyzer | https://github.com/PowerShell/PSScriptAnalyzer |
| Code | https://github.com/PowerShell/PSScriptAnalyzer |
| Issues407 (407) | https://github.com/PowerShell/PSScriptAnalyzer/issues |
| Pull requests34 (34) | 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 and quality | https://github.com/PowerShell/PSScriptAnalyzer/security |
| Insights | https://github.com/PowerShell/PSScriptAnalyzer/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FPowerShell%2FPSScriptAnalyzer%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FPowerShell%2FPSScriptAnalyzer%2Fissues%2Fnew%2Fchoose |
| Christoph Bergmeister (bergmeister) | https://github.com/bergmeister |
| PowerShell:development | https://github.com/PowerShell/PSScriptAnalyzer/tree/development |
| bergmeister:WarnPlusEquals | https://github.com/bergmeister/PSScriptAnalyzer/tree/WarnPlusEquals |
|
Conversation
3
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933 |
|
Commits
8
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/commits |
|
Checks
0
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/checks |
|
Files changed
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files |
|
WIP Warn when using += on array objects
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#top |
|
Show all changes
8 commits
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files |
|
949dc3f
add warning for += operator on arrays. This covers only some use case…
bergmeister Mar 14, 2018
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/commits/949dc3f8a39c5769dc7e60c2af222d5d41d7c9e5 |
|
8b88557
Add documentation and tweak message
bergmeister Mar 14, 2018
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/commits/8b885573b6440d9d53f5795a9d4155f1ea03fd90 |
|
6b4f061
tweak docs
bergmeister Mar 14, 2018
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/commits/6b4f0611c90ee3c7753908e5b881f8d09eac41d1 |
|
f3ad8fd
Merge branch 'development' of https://github.com/PowerShell/PSScriptA…
bergmeister Mar 30, 2018
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/commits/f3ad8fdb4c4467ee40ad688570e8f8cc408d0ea7 |
|
bc7426b
Merge branch 'development' of https://github.com/PowerShell/PSScriptA…
bergmeister Apr 12, 2018
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/commits/bc7426b4fcca6cd47cb2c0695d12001ef009a59a |
|
112d1fa
Merge branch 'development' into WarnPlusEquals
bergmeister Oct 3, 2018
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/commits/112d1fa8607f6b24427c5ab812d213499859a532 |
|
b630eaa
Merge branch 'development' of https://github.com/PowerShell/PSScriptA…
bergmeister Jan 16, 2019
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/commits/b630eaae77378eae50694f8f172acf4bc96692ef |
|
7304caf
Merge branch 'development' of https://github.com/PowerShell/PSScriptA…
bergmeister Mar 5, 2019
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/commits/7304caf9a964e596da99f3fa65bd5e57559097dd |
|
Clear filters
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files |
|
Helper.cs
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-427edd792ddc5404af08d95e98ffdd68d3d282caa731e104ee2c1a1998c506b9 |
|
VariableAnalysis.cs
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-4322621239ee130b40eb956ef67bcf3bde6eaf84c7b72d30163c86dcd4f30d67 |
|
AvoidPlusEqualsOperatorOnArraysOrStrings.md
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-8ad80b515d813b9d06fc95b44f41de6d47499086fee01c1ccf50c397d55b1a56 |
|
AvoidPlusEqualsOperatorOnArraysOrStrings.cs
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-910e9892c4065f5de575337253e6a1135b0319038b22070e3caade465c839aa3 |
|
Strings.Designer.cs
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-96b2565d7dcc77ccb6e34f95390675d07fb9a9029461308461eb94721a6c6088 |
|
Strings.resx
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-dcff94e6a5c5ee1dc9226dea0752aba08f8f1f53020b4a0e67f1ac944036b8c3 |
|
AvoidUsingPlusEqualsOperatorForArraysOrStrings.tests.ps1
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-87856ced7c86b319decdf465f635b37e18c98f629471bdaf644f7c36a563a4e8 |
| Engine/Helper.cs | https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-427edd792ddc5404af08d95e98ffdd68d3d282caa731e104ee2c1a1998c506b9 |
|
View file
| https://github.com/bergmeister/PSScriptAnalyzer/blob/7304caf9a964e596da99f3fa65bd5e57559097dd/Engine/Helper.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/{{ revealButtonHref }} |
|
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-427edd792ddc5404af08d95e98ffdd68d3d282caa731e104ee2c1a1998c506b9 |
|
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-427edd792ddc5404af08d95e98ffdd68d3d282caa731e104ee2c1a1998c506b9 |
| Engine/VariableAnalysis.cs | https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-4322621239ee130b40eb956ef67bcf3bde6eaf84c7b72d30163c86dcd4f30d67 |
|
View file
| https://github.com/bergmeister/PSScriptAnalyzer/blob/7304caf9a964e596da99f3fa65bd5e57559097dd/Engine/VariableAnalysis.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/{{ revealButtonHref }} |
|
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-4322621239ee130b40eb956ef67bcf3bde6eaf84c7b72d30163c86dcd4f30d67 |
|
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-4322621239ee130b40eb956ef67bcf3bde6eaf84c7b72d30163c86dcd4f30d67 |
| RuleDocumentation/AvoidPlusEqualsOperatorOnArraysOrStrings.md | https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-8ad80b515d813b9d06fc95b44f41de6d47499086fee01c1ccf50c397d55b1a56 |
|
View file
| https://github.com/bergmeister/PSScriptAnalyzer/blob/7304caf9a964e596da99f3fa65bd5e57559097dd/RuleDocumentation/AvoidPlusEqualsOperatorOnArraysOrStrings.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/{{ revealButtonHref }} |
| Rules/AvoidPlusEqualsOperatorOnArraysOrStrings.cs | https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-910e9892c4065f5de575337253e6a1135b0319038b22070e3caade465c839aa3 |
|
View file
| https://github.com/bergmeister/PSScriptAnalyzer/blob/7304caf9a964e596da99f3fa65bd5e57559097dd/Rules/AvoidPlusEqualsOperatorOnArraysOrStrings.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/{{ revealButtonHref }} |
| Rules/Strings.Designer.cs | https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-96b2565d7dcc77ccb6e34f95390675d07fb9a9029461308461eb94721a6c6088 |
|
View file
| https://github.com/bergmeister/PSScriptAnalyzer/blob/7304caf9a964e596da99f3fa65bd5e57559097dd/Rules/Strings.Designer.cs |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files |
| Rules/Strings.resx | https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-dcff94e6a5c5ee1dc9226dea0752aba08f8f1f53020b4a0e67f1ac944036b8c3 |
|
View file
| https://github.com/bergmeister/PSScriptAnalyzer/blob/7304caf9a964e596da99f3fa65bd5e57559097dd/Rules/Strings.resx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/{{ revealButtonHref }} |
|
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-dcff94e6a5c5ee1dc9226dea0752aba08f8f1f53020b4a0e67f1ac944036b8c3 |
| Tests/Rules/AvoidUsingPlusEqualsOperatorForArraysOrStrings.tests.ps1 | https://github.com/PowerShell/PSScriptAnalyzer/pull/933/files#diff-87856ced7c86b319decdf465f635b37e18c98f629471bdaf644f7c36a563a4e8 |
|
View file
| https://github.com/bergmeister/PSScriptAnalyzer/blob/7304caf9a964e596da99f3fa65bd5e57559097dd/Tests/Rules/AvoidUsingPlusEqualsOperatorForArraysOrStrings.tests.ps1 |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PSScriptAnalyzer/pull/933/{{ revealButtonHref }} |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |