René's URL Explorer Experiment


Title: Model TypeError throw points for illegal array key offsets by gnutix · Pull Request #5977 · phpstan/phpstan-src · GitHub

Open Graph Title: Model TypeError throw points for illegal array key offsets by gnutix · Pull Request #5977 · phpstan/phpstan-src

X Title: Model TypeError throw points for illegal array key offsets by gnutix · Pull Request #5977 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Model TypeError throw points for illegal array key offsets by gnutix · Pull Request #5977 · phpstan/phpstan-src

Open Graph Description: Closes phpstan/phpstan#6970 Root cause Since PHP 8.0, using an array or an object as an array (or string) offset throws TypeError instead of emitting an "Illegal offset type" warning (Rec...

X Description: Closes phpstan/phpstan#6970 Root cause Since PHP 8.0, using an array or an object as an array (or string) offset throws TypeError instead of emitting an "Illegal offset type" warn...

Opengraph URL: https://github.com/phpstan/phpstan-src/pull/5977

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:ba8aa593-f3ea-095c-6ffa-df77e1a46a7d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDAB8:4B3F5:3DFC5C:56CE11:6B006FC5
html-safe-nonce1fea271137c3451e3d927f5d36c273e57302d5eaa20f5665e0cc16532ac33f34
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUI4OjRCM0Y1OjNERkM1Qzo1NkNFMTE6NkIwMDZGQzUiLCJ2aXNpdG9yX2lkIjoiNDgyNjEzOTM1MDgzNDExNDUwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacab8785f41e4b1b8289a1a6f05f7a6cc1ab4e3f6553eedc473d3b63109503ba08
hovercard-subject-tagpull_request:3980353318
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/phpstan/phpstan-src/5977/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bafdcd1e645ea25e9d0569d47aa0d299e62fbd99e6dc149b3f1c654435e66f6f/phpstan/phpstan-src/pull/5977
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bafdcd1e645ea25e9d0569d47aa0d299e62fbd99e6dc149b3f1c654435e66f6f/phpstan/phpstan-src/pull/5977
og:image:altCloses phpstan/phpstan#6970 Root cause Since PHP 8.0, using an array or an object as an array (or string) offset throws TypeError instead of emitting an "Illegal offset type" warning (Rec...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegnutix
hostnamegithub.com
expected-hostnamegithub.com
None6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa
turbo-cache-controlno-cache
go-importgithub.com/phpstan/phpstan-src git https://github.com/phpstan/phpstan-src.git
octolytics-dimension-user_id16435710
octolytics-dimension-user_loginphpstan
octolytics-dimension-repository_id219334214
octolytics-dimension-repository_nwophpstan/phpstan-src
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id219334214
octolytics-dimension-repository_network_root_nwophpstan/phpstan-src
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
release46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/5977#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F5977
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%2Fphpstan%2Fphpstan-src%2Fpull%2F5977
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=phpstan%2Fphpstan-src
Reloadhttps://github.com/phpstan/phpstan-src/pull/5977
Reloadhttps://github.com/phpstan/phpstan-src/pull/5977
Reloadhttps://github.com/phpstan/phpstan-src/pull/5977
phpstanhttps://github.com/phpstan
phpstan-srchttps://github.com/phpstan/phpstan-src
Codehttps://github.com/phpstan/phpstan-src
Pull requests185 (185)https://github.com/phpstan/phpstan-src/pulls
Actionshttps://github.com/phpstan/phpstan-src/actions
Security and qualityhttps://github.com/phpstan/phpstan-src/security
Insightshttps://github.com/phpstan/phpstan-src/insights
https://github.com/phpstan/phpstan-src
gnutixhttps://github.com/gnutix
phpstan:2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
gnutix:typeerror-array-key-throw-pointshttps://github.com/gnutix/phpstan-src/tree/typeerror-array-key-throw-points
Conversationhttps://github.com/phpstan/phpstan-src/pull/5977
Commits1 (1)https://github.com/phpstan/phpstan-src/pull/5977/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/5977/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/5977/files
Model TypeError throw points for illegal array key offsetshttps://github.com/phpstan/phpstan-src/pull/5977#top
gnutixhttps://github.com/gnutix
phpstan:2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
gnutix:typeerror-array-key-throw-pointshttps://github.com/gnutix/phpstan-src/tree/typeerror-array-key-throw-points
https://github.com/gnutix
gnutixhttps://github.com/gnutix
Jul 2, 2026https://github.com/phpstan/phpstan-src/pull/5977#issue-4796878494
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5977
phpstan/phpstan#6970https://github.com/phpstan/phpstan/issues/6970
Reclassifying engine warnings RFChttps://wiki.php.net/rfc/engine_warnings
phpstan/phpstan#9146https://github.com/phpstan/phpstan/issues/9146
#4981https://github.com/phpstan/phpstan-src/pull/4981
88b41d4https://github.com/phpstan/phpstan-src/commit/88b41d43cebfd1d839e0ff671378973319b95a7e
engine warnings RFChttps://wiki.php.net/rfc/engine_warnings
PHP 8.0 UPGRADING noteshttps://github.com/php/php-src/blob/PHP-8.0/UPGRADING
phpstan/phpstan#15470https://github.com/phpstan/phpstan/pull/15470
Claude Codehttps://claude.com/claude-code
https://claude.ai/code/session_01QW8VaDtn3cMdQowPSh1xGGhttps://claude.ai/code/session_01QW8VaDtn3cMdQowPSh1xGG
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5977
https://github.com/gnutix
gnutixhttps://github.com/gnutix
July 4, 2026 19:47https://github.com/phpstan/phpstan-src/pull/5977#event-27562304863
https://github.com/gnutix
gnutixhttps://github.com/gnutix
force-pushedhttps://github.com/phpstan/phpstan-src/compare/b0e63167b265bb0a6a6fa43a7ed9cd66d8900a8b..5f483b58c99807535f96c58ff07df0f3ed2b921b
b0e6316https://github.com/phpstan/phpstan-src/commit/b0e63167b265bb0a6a6fa43a7ed9cd66d8900a8b
5f483b5https://github.com/phpstan/phpstan-src/commit/5f483b58c99807535f96c58ff07df0f3ed2b921b
Compare https://github.com/phpstan/phpstan-src/compare/b0e63167b265bb0a6a6fa43a7ed9cd66d8900a8b..5f483b58c99807535f96c58ff07df0f3ed2b921b
July 5, 2026 07:49https://github.com/phpstan/phpstan-src/pull/5977#event-27569965432
https://github.com/gnutix
gnutixhttps://github.com/gnutix
Jul 5, 2026 https://github.com/phpstan/phpstan-src/pull/5977#ref-pullrequest-4796763647
Do not flatten template benevolent unions in TypeCombinator::union() #5975 https://github.com/phpstan/phpstan-src/pull/5975
https://github.com/gnutix
gnutixhttps://github.com/gnutix
force-pushedhttps://github.com/phpstan/phpstan-src/compare/ab4e62d310944c61245b0753c110631fef9f3cbc..897a3d3140cdcb566aea011c18e2f8490c7f094c
ab4e62dhttps://github.com/phpstan/phpstan-src/commit/ab4e62d310944c61245b0753c110631fef9f3cbc
897a3d3https://github.com/phpstan/phpstan-src/commit/897a3d3140cdcb566aea011c18e2f8490c7f094c
Compare https://github.com/phpstan/phpstan-src/compare/ab4e62d310944c61245b0753c110631fef9f3cbc..897a3d3140cdcb566aea011c18e2f8490c7f094c
July 5, 2026 11:39https://github.com/phpstan/phpstan-src/pull/5977#event-27572653638
https://github.com/gnutix
gnutixhttps://github.com/gnutix
force-pushedhttps://github.com/phpstan/phpstan-src/compare/897a3d3140cdcb566aea011c18e2f8490c7f094c..c19e5b393a6317aabfb203296d6cacfd910cfb5c
897a3d3https://github.com/phpstan/phpstan-src/commit/897a3d3140cdcb566aea011c18e2f8490c7f094c
c19e5b3https://github.com/phpstan/phpstan-src/commit/c19e5b393a6317aabfb203296d6cacfd910cfb5c
Compare https://github.com/phpstan/phpstan-src/compare/897a3d3140cdcb566aea011c18e2f8490c7f094c..c19e5b393a6317aabfb203296d6cacfd910cfb5c
October 12, 2026 16:32https://github.com/phpstan/phpstan-src/pull/5977#event-33064211432
https://github.com/gnutix
gnutixhttps://github.com/gnutix
October 12, 2026 16:32https://github.com/phpstan/phpstan-src/pull/5977#event-33064214507
https://github.com/gnutix
gnutixhttps://github.com/gnutix
force-pushedhttps://github.com/phpstan/phpstan-src/compare/c19e5b393a6317aabfb203296d6cacfd910cfb5c..8d336a5888f3fc499168142b4e94aec32deb3d04
c19e5b3https://github.com/phpstan/phpstan-src/commit/c19e5b393a6317aabfb203296d6cacfd910cfb5c
8d336a5https://github.com/phpstan/phpstan-src/commit/8d336a5888f3fc499168142b4e94aec32deb3d04
Compare https://github.com/phpstan/phpstan-src/compare/c19e5b393a6317aabfb203296d6cacfd910cfb5c..8d336a5888f3fc499168142b4e94aec32deb3d04
October 12, 2026 19:27https://github.com/phpstan/phpstan-src/pull/5977#event-33075146554
gnutixhttps://github.com/gnutix
Oct 12, 2026 https://github.com/phpstan/phpstan-src/pull/5977#ref-commit-f3868f7
https://github.com/gnutix
https://github.com/claude
Baseline the shopware throws.void error from illegal array offsetshttps://github.com/gnutix/phpstan/commit/f3868f7e83f94fafabbb607161c5178f958b39ea
f3868f7https://github.com/gnutix/phpstan/commit/f3868f7e83f94fafabbb607161c5178f958b39ea
phpstan/phpstan-src#5977https://github.com/phpstan/phpstan-src/pull/5977
@throwshttps://github.com/throws
https://claude.ai/code/session_01QW8VaDtn3cMdQowPSh1xGGhttps://claude.ai/code/session_01QW8VaDtn3cMdQowPSh1xGG
Baseline the shopware throws.void error from illegal array offsets phpstan/phpstan#15470 https://github.com/phpstan/phpstan/pull/15470
Accept all data provider arguments in OverridingMethodRuleTest::testBug3403() #6737 https://github.com/phpstan/phpstan-src/pull/6737
https://github.com/gnutix
https://github.com/claude
https://github.com/ondrejmirtes
Model TypeError throw points for illegal array key offsetshttps://github.com/phpstan/phpstan-src/pull/5977/commits/5500b084fb8d9439479fe8d689ac3c25ffe134f7
5500b08https://github.com/phpstan/phpstan-src/pull/5977/commits/5500b084fb8d9439479fe8d689ac3c25ffe134f7
https://claude.ai/code/session_01QW8VaDtn3cMdQowPSh1xGGhttps://claude.ai/code/session_01QW8VaDtn3cMdQowPSh1xGG
https://ampcode.com/threads/T-01a19219-3b71-70b4-9e7a-3291211fe45fhttps://ampcode.com/threads/T-01a19219-3b71-70b4-9e7a-3291211fe45f
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/8d336a5888f3fc499168142b4e94aec32deb3d04..5500b084fb8d9439479fe8d689ac3c25ffe134f7
8d336a5https://github.com/phpstan/phpstan-src/commit/8d336a5888f3fc499168142b4e94aec32deb3d04
5500b08https://github.com/phpstan/phpstan-src/commit/5500b084fb8d9439479fe8d689ac3c25ffe134f7
Compare https://github.com/phpstan/phpstan-src/compare/8d336a5888f3fc499168142b4e94aec32deb3d04..5500b084fb8d9439479fe8d689ac3c25ffe134f7
October 31, 2026 13:48https://github.com/phpstan/phpstan-src/pull/5977#event-34774324537
https://github.co/hiddenchars
https://github.com/phpstan/phpstan-src/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%2Fphpstan%2Fphpstan-src%2Fpull%2F5977
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5977
Accessing an array's value using a Generator's key (which can be another type than "array-key") could potentially trigger a TypeError https://github.com/phpstan/phpstan/issues/6970
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5977
https://github.com/gnutix
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.