René's URL Explorer Experiment


Title: Reproduce a weird bug with closures by canvural · Pull Request #3131 · phpstan/phpstan-src · GitHub

Open Graph Title: Reproduce a weird bug with closures by canvural · Pull Request #3131 · phpstan/phpstan-src

X Title: Reproduce a weird bug with closures by canvural · Pull Request #3131 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Reproduce a weird bug with closures by canvural · Pull Request #3131 · phpstan/phpstan-src

Open Graph Description: Hi 👋🏽 Since some time (actually over a a year or two) there is a bug that effects Larastan. Some of the reported ones I could find: When() method expects callable Builder with specific model but M...

X Description: Hi 👋🏽 Since some time (actually over a a year or two) there is a bug that effects Larastan. Some of the reported ones I could find: When() method expects callable Builder with specific model but M...

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

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:dbe333a7-7499-7b30-e8bc-08d369dd6425
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE6DE:25598F:C340F7:1036E84:6B00F4D6
html-safe-nonced67cd7a175eaa73b0d1a21e0b16828ac101cb2b7d45cdd53c8f586a8a970dfde
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkRFOjI1NTk4RjpDMzQwRjc6MTAzNkU4NDo2QjAwRjRENiIsInZpc2l0b3JfaWQiOiI3Mzk0MDMyMzk3OTc0NTY2MTAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac940b3db4f8170f006ae30918a3dd68d44c18eb4092b8e3c835e5cac3aecef313
hovercard-subject-tagpull_request:1909037937
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/3131/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/82939fa23e251f5f41bcf2cce702f78571d5adb3e7e7d924f5847a8f0a27d0cd/phpstan/phpstan-src/pull/3131
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/82939fa23e251f5f41bcf2cce702f78571d5adb3e7e7d924f5847a8f0a27d0cd/phpstan/phpstan-src/pull/3131
og:image:altHi 👋🏽 Since some time (actually over a a year or two) there is a bug that effects Larastan. Some of the reported ones I could find: When() method expects callable Builder with specific model but M...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecanvural
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/3131#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F3131
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%2F3131
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/3131
Reloadhttps://github.com/phpstan/phpstan-src/pull/3131
Reloadhttps://github.com/phpstan/phpstan-src/pull/3131
phpstanhttps://github.com/phpstan
phpstan-srchttps://github.com/phpstan/phpstan-src
Codehttps://github.com/phpstan/phpstan-src
Pull requests186 (186)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
canvuralhttps://github.com/canvural
phpstan:1.12.xhttps://github.com/phpstan/phpstan-src/tree/1.12.x
canvural:weird-bughttps://github.com/canvural/phpstan-src/tree/weird-bug
Conversationhttps://github.com/phpstan/phpstan-src/pull/3131
Commits3 (3)https://github.com/phpstan/phpstan-src/pull/3131/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/3131/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/3131/files
Reproduce a weird bug with closureshttps://github.com/phpstan/phpstan-src/pull/3131#top
canvuralhttps://github.com/canvural
phpstan:1.12.xhttps://github.com/phpstan/phpstan-src/tree/1.12.x
canvural:weird-bughttps://github.com/canvural/phpstan-src/tree/weird-bug
https://github.com/canvural
canvuralhttps://github.com/canvural
Jun 7, 2024https://github.com/phpstan/phpstan-src/pull/3131#issue-2340248023
When() method expects callable Builder with specific model but Model given larastan/larastan#1214https://github.com/larastan/larastan/issues/1214
When method do not supports clousure with whereIn expression larastan/larastan#1937https://github.com/larastan/larastan/issues/1937
Wrong return type on whereRaw larastan/larastan#1956https://github.com/larastan/larastan/issues/1956
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
https://github.com/canvural
canvuralhttps://github.com/canvural
Jun 7, 2024https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2154664090
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Jun 7, 2024https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2154666532
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
https://github.com/canvural
canvuralhttps://github.com/canvural
Jun 7, 2024https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2154671554
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Jun 10, 2024https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2157757205
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Jun 10, 2024https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2157796738
Closure required to no return statement phpstan#11099https://github.com/phpstan/phpstan/issues/11099
Template name is wrongly propagated to the type phpstan#11079https://github.com/phpstan/phpstan/issues/11079
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
https://github.com/canvural
canvuralhttps://github.com/canvural
Jun 10, 2024https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2157817613
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
https://github.com/canvural
canvuralhttps://github.com/canvural
force-pushedhttps://github.com/phpstan/phpstan-src/compare/c60408b8183feb4334afe9164337632a8c6497d9..e2443099fdbc6a60b3934a20b36827b2b4d575a4
c60408bhttps://github.com/phpstan/phpstan-src/commit/c60408b8183feb4334afe9164337632a8c6497d9
e244309https://github.com/phpstan/phpstan-src/commit/e2443099fdbc6a60b3934a20b36827b2b4d575a4
Compare https://github.com/phpstan/phpstan-src/compare/c60408b8183feb4334afe9164337632a8c6497d9..e2443099fdbc6a60b3934a20b36827b2b4d575a4
September 27, 2024 17:48https://github.com/phpstan/phpstan-src/pull/3131#event-14434435222
https://github.com/canvural
canvuralhttps://github.com/canvural
September 27, 2024 17:49https://github.com/phpstan/phpstan-src/pull/3131#event-14434449323
https://github.com/canvural
canvuralhttps://github.com/canvural
force-pushedhttps://github.com/phpstan/phpstan-src/compare/e2443099fdbc6a60b3934a20b36827b2b4d575a4..12049c043a4b23dc7465de2155acd4f197ac8783
e244309https://github.com/phpstan/phpstan-src/commit/e2443099fdbc6a60b3934a20b36827b2b4d575a4
12049c0https://github.com/phpstan/phpstan-src/commit/12049c043a4b23dc7465de2155acd4f197ac8783
Compare https://github.com/phpstan/phpstan-src/compare/e2443099fdbc6a60b3934a20b36827b2b4d575a4..12049c043a4b23dc7465de2155acd4f197ac8783
September 27, 2024 17:49https://github.com/phpstan/phpstan-src/pull/3131#event-14434451171
https://github.com/canvural
canvuralhttps://github.com/canvural
force-pushedhttps://github.com/phpstan/phpstan-src/compare/12049c043a4b23dc7465de2155acd4f197ac8783..6bdd65a1db3155e24824dd035bc8905b82f611a4
12049c0https://github.com/phpstan/phpstan-src/commit/12049c043a4b23dc7465de2155acd4f197ac8783
6bdd65ahttps://github.com/phpstan/phpstan-src/commit/6bdd65a1db3155e24824dd035bc8905b82f611a4
Compare https://github.com/phpstan/phpstan-src/compare/12049c043a4b23dc7465de2155acd4f197ac8783..6bdd65a1db3155e24824dd035bc8905b82f611a4
December 1, 2024 15:49https://github.com/phpstan/phpstan-src/pull/3131#event-15484682778
https://github.com/canvural
canvuralhttps://github.com/canvural
Dec 1, 2024https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2509851959
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
canvuralhttps://github.com/canvural
February 7, 2025 00:50https://github.com/phpstan/phpstan-src/pull/3131#commits-pushed-b571eac
https://github.com/canvural
reproduce a weird bug with closureshttps://github.com/phpstan/phpstan-src/pull/3131/commits/b571eacf502d271a43a391174bd53d66953d1a90
b571eachttps://github.com/phpstan/phpstan-src/pull/3131/commits/b571eacf502d271a43a391174bd53d66953d1a90
https://github.com/canvural
move the test to rule testshttps://github.com/phpstan/phpstan-src/pull/3131/commits/57e8687ddda94e4e15bf9686ea2020578d1ade5a
57e8687https://github.com/phpstan/phpstan-src/pull/3131/commits/57e8687ddda94e4e15bf9686ea2020578d1ade5a
https://github.com/canvural
fix: use passed to type to compare return types in ClosureReturnTypeRulehttps://github.com/phpstan/phpstan-src/pull/3131/commits/ea5f4c219bb5f854b2680e129c9d1f8660943422
ea5f4c2https://github.com/phpstan/phpstan-src/pull/3131/commits/ea5f4c219bb5f854b2680e129c9d1f8660943422
https://github.com/canvural
canvuralhttps://github.com/canvural
force-pushedhttps://github.com/phpstan/phpstan-src/compare/6bdd65a1db3155e24824dd035bc8905b82f611a4..ea5f4c219bb5f854b2680e129c9d1f8660943422
6bdd65ahttps://github.com/phpstan/phpstan-src/commit/6bdd65a1db3155e24824dd035bc8905b82f611a4
ea5f4c2https://github.com/phpstan/phpstan-src/commit/ea5f4c219bb5f854b2680e129c9d1f8660943422
Compare https://github.com/phpstan/phpstan-src/compare/6bdd65a1db3155e24824dd035bc8905b82f611a4..ea5f4c219bb5f854b2680e129c9d1f8660943422
February 6, 2025 23:50https://github.com/phpstan/phpstan-src/pull/3131#event-16217610163
https://github.com/canvural
canvuralhttps://github.com/canvural
Feb 6, 2025https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2641372388
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
@ondrejmirteshttps://github.com/ondrejmirtes
fixhttps://github.com/phpstan/phpstan-src/pull/3131/commits/ea5f4c219bb5f854b2680e129c9d1f8660943422
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Feb 7, 2025https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2642940808
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
https://github.com/canvural
canvuralhttps://github.com/canvural
Feb 7, 2025https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2643037870
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
https://github.com/canvural
canvuralhttps://github.com/canvural
Feb 19, 2025 https://github.com/phpstan/phpstan-src/pull/3131#ref-pullrequest-2855861147
ci: add failing test for bug-12585 #3828 https://github.com/phpstan/phpstan-src/pull/3828
https://github.com/canvural
canvuralhttps://github.com/canvural
Feb 19, 2025https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2668721543
@ondrejmirteshttps://github.com/ondrejmirtes
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Feb 20, 2025https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2670724741
@canvuralhttps://github.com/canvural
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
https://github.com/canvural
canvuralhttps://github.com/canvural
Feb 20, 2025https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2671235919
@ondrejmirteshttps://github.com/ondrejmirtes
get the type of the closurehttps://github.com/phpstan/phpstan-src/blob/46b98196c0643eeb3b0eb3c5e91e10099e00f5c1/src/Analyser/MutatingScope.php#L3344
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
https://github.com/calebdw
calebdwhttps://github.com/calebdw
Sep 5, 2025 https://github.com/phpstan/phpstan-src/pull/3131#ref-pullrequest-3387607759
feat: add dynamic parameter type extensions #4290 https://github.com/phpstan/phpstan-src/pull/4290
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Nov 1, 2026 https://github.com/phpstan/phpstan-src/pull/3131#ref-pullrequest-6145941157
Accept closures matching the parameter closure type extension in argument checks #6897 https://github.com/phpstan/phpstan-src/pull/6897
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Nov 1, 2026https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-6557049078
#6897https://github.com/phpstan/phpstan-src/pull/6897
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Nov 1, 2026https://github.com/phpstan/phpstan-src/pull/3131#event-34827239863
https://github.com/canvural
canvuralhttps://github.com/canvural
November 1, 2026 11:08https://github.com/phpstan/phpstan-src/pull/3131#event-34827538652
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%2F3131
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3131
https://github.com/canvural
https://github.com/ondrejmirtes
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.