René's URL Explorer Experiment


Title: Fix strtr inferences by VincentLanglet · Pull Request #4466 · phpstan/phpstan-src · GitHub

Open Graph Title: Fix strtr inferences by VincentLanglet · Pull Request #4466 · phpstan/phpstan-src

X Title: Fix strtr inferences by VincentLanglet · Pull Request #4466 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Fix strtr inferences by VincentLanglet · Pull Request #4466 · phpstan/phpstan-src

Open Graph Description: Closes phpstan/phpstan#13708

X Description: Closes phpstan/phpstan#13708

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

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:b47e1621-0fd4-d060-4a92-4413fb4b10f7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAEAE:220721:A96FD7:E8636A:6B00A8AA
html-safe-nonceb2397086675594617c5aacd64dc5ace4256712c53846513b93d3036bbfe2bdd6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUFFOjIyMDcyMTpBOTZGRDc6RTg2MzZBOjZCMDBBOEFBIiwidmlzaXRvcl9pZCI6IjI3ODk2MTM3ODIwMzk1NzA2MDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac62fb8481541497cf07f2855a3ae9412253f4173e2676e1514fac2a3024e9aea4
hovercard-subject-tagpull_request:2932659210
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/4466/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0e217f437bfdcccf1986a47ec6c27455d37c38ed23a75f2043c17ab5d5b35cb8/phpstan/phpstan-src/pull/4466
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0e217f437bfdcccf1986a47ec6c27455d37c38ed23a75f2043c17ab5d5b35cb8/phpstan/phpstan-src/pull/4466
og:image:altCloses phpstan/phpstan#13708
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameVincentLanglet
hostnamegithub.com
expected-hostnamegithub.com
None455b493e3402a3a3a06beac5d20bb7db3da060808b220aa48d6a7eca7c59863a
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
release2f575159976167242d488c0b062eb355c4e198b7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/4466#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F4466
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%2F4466
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/4466
Reloadhttps://github.com/phpstan/phpstan-src/pull/4466
Reloadhttps://github.com/phpstan/phpstan-src/pull/4466
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
VincentLanglethttps://github.com/VincentLanglet
phpstan:2.1.xhttps://github.com/phpstan/phpstan-src/tree/2.1.x
VincentLanglet:replaceStrtrhttps://github.com/VincentLanglet/phpstan-src/tree/replaceStrtr
Conversationhttps://github.com/phpstan/phpstan-src/pull/4466
Commits6 (6)https://github.com/phpstan/phpstan-src/pull/4466/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/4466/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/4466/files
Fix strtr inferenceshttps://github.com/phpstan/phpstan-src/pull/4466#top
VincentLanglethttps://github.com/VincentLanglet
phpstan:2.1.xhttps://github.com/phpstan/phpstan-src/tree/2.1.x
VincentLanglet:replaceStrtrhttps://github.com/VincentLanglet/phpstan-src/tree/replaceStrtr
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Oct 21, 2025https://github.com/phpstan/phpstan-src/pull/4466#issue-3535723314
phpstan/phpstan#13708https://github.com/phpstan/phpstan/issues/13708
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4466
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Oct 21, 2025 https://github.com/phpstan/phpstan-src/pull/4466#ref-issue-3534980283
non-empty-string support for strtr phpstan/phpstan#13708 https://github.com/phpstan/phpstan/issues/13708
https://github.com/staabm
staabmhttps://github.com/staabm
Oct 21, 2025 https://github.com/phpstan/phpstan-src/pull/4466#pullrequestreview-3361718528
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4466/files
tests/PHPStan/Rules/Methods/data/bug-13708.phphttps://github.com/phpstan/phpstan-src/pull/4466/files#diff-8087669d6722f53b40b4c9d5bfcab21d8bcd2029ff4d11a5f8cf395dad66cf3f
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4466
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
force-pushedhttps://github.com/phpstan/phpstan-src/compare/49607b6dd00db05933ca11a080da929049e242bc..93b42a2e34eaa04095d1d7f1cf8888a03724571f
49607b6https://github.com/phpstan/phpstan-src/commit/49607b6dd00db05933ca11a080da929049e242bc
93b42a2https://github.com/phpstan/phpstan-src/commit/93b42a2e34eaa04095d1d7f1cf8888a03724571f
Compare https://github.com/phpstan/phpstan-src/compare/49607b6dd00db05933ca11a080da929049e242bc..93b42a2e34eaa04095d1d7f1cf8888a03724571f
October 21, 2025 19:03https://github.com/phpstan/phpstan-src/pull/4466#event-20412971191
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
staabmhttps://github.com/staabm
October 21, 2025 19:38https://github.com/phpstan/phpstan-src/pull/4466#event-20413714601
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/93b42a2e34eaa04095d1d7f1cf8888a03724571f..6dbf9e460239604cf523e5d3fe020d739cf3b65d
93b42a2https://github.com/phpstan/phpstan-src/commit/93b42a2e34eaa04095d1d7f1cf8888a03724571f
6dbf9e4https://github.com/phpstan/phpstan-src/commit/6dbf9e460239604cf523e5d3fe020d739cf3b65d
Compare https://github.com/phpstan/phpstan-src/compare/93b42a2e34eaa04095d1d7f1cf8888a03724571f..6dbf9e460239604cf523e5d3fe020d739cf3b65d
December 5, 2025 07:55https://github.com/phpstan/phpstan-src/pull/4466#event-21378415744
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Dec 5, 2025https://github.com/phpstan/phpstan-src/pull/4466#issuecomment-3615765459
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4466
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Dec 5, 2025https://github.com/phpstan/phpstan-src/pull/4466#issuecomment-3616036899
https://phpstan.org/r/1b1f1f8a-dbd4-417c-b251-be553d4d64d3https://phpstan.org/r/1b1f1f8a-dbd4-417c-b251-be553d4d64d3
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4466
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Dec 5, 2025https://github.com/phpstan/phpstan-src/pull/4466#issuecomment-3616056715
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4466
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
force-pushedhttps://github.com/phpstan/phpstan-src/compare/6a6e148a86569cb030807e88092bdd4bdcf87d98..84f051411227ac30f75f9d3237ac55da68508187
6a6e148https://github.com/phpstan/phpstan-src/commit/6a6e148a86569cb030807e88092bdd4bdcf87d98
84f0514https://github.com/phpstan/phpstan-src/commit/84f051411227ac30f75f9d3237ac55da68508187
Compare https://github.com/phpstan/phpstan-src/compare/6a6e148a86569cb030807e88092bdd4bdcf87d98..84f051411227ac30f75f9d3237ac55da68508187
December 5, 2025 09:56https://github.com/phpstan/phpstan-src/pull/4466#event-21380763555
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Dec 5, 2025https://github.com/phpstan/phpstan-src/pull/4466#issuecomment-3616305015
@ondrejmirteshttps://github.com/ondrejmirtes
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4466
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Dec 5, 2025https://github.com/phpstan/phpstan-src/pull/4466#issuecomment-3617643888
@ondrejmirteshttps://github.com/ondrejmirtes
https://github.com/phpstan/phpstan-src/pulls/VincentLanglethttps://github.com/phpstan/phpstan-src/pulls/VincentLanglet
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4466
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
force-pushedhttps://github.com/phpstan/phpstan-src/compare/60e714b572ae2a5c100087b9dd3ef146c92e3fef..fcb64d0a5cd3a08ac6bfa5024f7f780b835f2f34
60e714bhttps://github.com/phpstan/phpstan-src/commit/60e714b572ae2a5c100087b9dd3ef146c92e3fef
fcb64d0https://github.com/phpstan/phpstan-src/commit/fcb64d0a5cd3a08ac6bfa5024f7f780b835f2f34
Compare https://github.com/phpstan/phpstan-src/compare/60e714b572ae2a5c100087b9dd3ef146c92e3fef..fcb64d0a5cd3a08ac6bfa5024f7f780b835f2f34
February 1, 2026 13:48https://github.com/phpstan/phpstan-src/pull/4466#event-22443923055
https://github.com/staabm
staabmhttps://github.com/staabm
Feb 9, 2026 https://github.com/phpstan/phpstan-src/pull/4466#pullrequestreview-3773400651
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4466/files
tests/PHPStan/Analyser/nsrt/strtr.phphttps://github.com/phpstan/phpstan-src/pull/4466/files#diff-1d0dfbf6a64290a0bfd6fd92e3446e43ce3c1655fdcbe8c7f7ea18682e4b5bb2
staabmhttps://github.com/staabm
Feb 9, 2026https://github.com/phpstan/phpstan-src/pull/4466#discussion_r2782729616
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4466
VincentLanglethttps://github.com/VincentLanglet
Feb 9, 2026https://github.com/phpstan/phpstan-src/pull/4466#discussion_r2784679993
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4466
VincentLanglethttps://github.com/VincentLanglet
February 9, 2026 22:18https://github.com/phpstan/phpstan-src/pull/4466#commits-pushed-c13591d
https://github.com/VincentLanglet
Fix strtr inferenceshttps://github.com/phpstan/phpstan-src/pull/4466/commits/c13591db8bef714d12e8051edd48f233b815ad3b
c13591dhttps://github.com/phpstan/phpstan-src/pull/4466/commits/c13591db8bef714d12e8051edd48f233b815ad3b
https://github.com/VincentLanglet
Add assertionhttps://github.com/phpstan/phpstan-src/pull/4466/commits/50bdf1671fa2514dc12df003c79ee6d8dab9449c
50bdf16https://github.com/phpstan/phpstan-src/pull/4466/commits/50bdf1671fa2514dc12df003c79ee6d8dab9449c
https://github.com/VincentLanglet
Improve maybe inferenceshttps://github.com/phpstan/phpstan-src/pull/4466/commits/0a69e76bec6865e3ff1ad04062062acb5670bda0
0a69e76https://github.com/phpstan/phpstan-src/pull/4466/commits/0a69e76bec6865e3ff1ad04062062acb5670bda0
https://github.com/VincentLanglet
Fix cshttps://github.com/phpstan/phpstan-src/pull/4466/commits/52fa18c653e710420c401ef88ab4260f5d683d18
52fa18chttps://github.com/phpstan/phpstan-src/pull/4466/commits/52fa18c653e710420c401ef88ab4260f5d683d18
https://github.com/VincentLanglet
Tryhttps://github.com/phpstan/phpstan-src/pull/4466/commits/b80c847f7f935a4b9ab5ed387ff7687b81e2c385
b80c847https://github.com/phpstan/phpstan-src/pull/4466/commits/b80c847f7f935a4b9ab5ed387ff7687b81e2c385
https://github.com/VincentLanglet
Add testshttps://github.com/phpstan/phpstan-src/pull/4466/commits/de36dc2d9c42b2c8494f442ba253285080f6f523
de36dc2https://github.com/phpstan/phpstan-src/pull/4466/commits/de36dc2d9c42b2c8494f442ba253285080f6f523
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
force-pushedhttps://github.com/phpstan/phpstan-src/compare/fcb64d0a5cd3a08ac6bfa5024f7f780b835f2f34..de36dc2d9c42b2c8494f442ba253285080f6f523
fcb64d0https://github.com/phpstan/phpstan-src/commit/fcb64d0a5cd3a08ac6bfa5024f7f780b835f2f34
de36dc2https://github.com/phpstan/phpstan-src/commit/de36dc2d9c42b2c8494f442ba253285080f6f523
Compare https://github.com/phpstan/phpstan-src/compare/fcb64d0a5cd3a08ac6bfa5024f7f780b835f2f34..de36dc2d9c42b2c8494f442ba253285080f6f523
February 9, 2026 21:18https://github.com/phpstan/phpstan-src/pull/4466#event-22654882798
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
staabmhttps://github.com/staabm
February 9, 2026 21:46https://github.com/phpstan/phpstan-src/pull/4466#event-22655531897
https://github.com/staabm
staabmhttps://github.com/staabm
Feb 10, 2026 https://github.com/phpstan/phpstan-src/pull/4466#pullrequestreview-3776888647
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4466/files/de36dc2d9c42b2c8494f442ba253285080f6f523
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
62fd66ehttps://github.com/phpstan/phpstan-src/commit/62fd66e466736300ad79bfa46d26f7b9c4ff8832
Feb 10, 2026https://github.com/phpstan/phpstan-src/pull/4466#event-22664779160
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4466
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%2F4466
https://github.com/staabm
staabm https://github.com/staabm
https://github.com/phpstan/phpstan-src/pull/4466/files/de36dc2d9c42b2c8494f442ba253285080f6f523
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4466
non-empty-string support for strtr https://github.com/phpstan/phpstan/issues/13708
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4466
https://github.com/VincentLanglet
https://github.com/ondrejmirtes
https://github.com/staabm
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.