René's URL Explorer Experiment


Title: Set correct types for mocks of multiple classes by Khartir · Pull Request #61 · phpstan/phpstan-phpunit · GitHub

Open Graph Title: Set correct types for mocks of multiple classes by Khartir · Pull Request #61 · phpstan/phpstan-phpunit

X Title: Set correct types for mocks of multiple classes by Khartir · Pull Request #61 · phpstan/phpstan-phpunit

Description: PHPUnit extensions and rules for PHPStan. Contribute to phpstan/phpstan-phpunit development by creating an account on GitHub.

Open Graph Description: Closes #58 I copied the ExtensionTestCase from https://github.com/phpstan/phpstan-symfony/blob/master/tests/Type/Symfony/ExtensionTestCase.php. Is there a better way to test this?

X Description: Closes #58 I copied the ExtensionTestCase from https://github.com/phpstan/phpstan-symfony/blob/master/tests/Type/Symfony/ExtensionTestCase.php. Is there a better way to test this?

Opengraph URL: https://github.com/phpstan/phpstan-phpunit/pull/61

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:fd4a11ee-eaa9-de33-8ed8-9f56efb1e0a0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE5A2:5A43A:8A218:C0834:6B0061F2
html-safe-nonce0e241f231ff955094cd081a9fef1d687af7c46453eeb6314cf6630924a483530
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUEyOjVBNDNBOjhBMjE4OkMwODM0OjZCMDA2MUYyIiwidmlzaXRvcl9pZCI6Ijg2Nzk4MzMwODI1NDg3NDA1OTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5c746d1bf70f2842212390fb3c8f439ed6b49b09a67aa1e7f2fc59d315937fb9
hovercard-subject-tagpull_request:372388238
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-phpunit/61/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/305a78a181820edb320d7d9522aabbbcb1e7bfbd39b7d418a73b4870eb3ddeb1/phpstan/phpstan-phpunit/pull/61
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/305a78a181820edb320d7d9522aabbbcb1e7bfbd39b7d418a73b4870eb3ddeb1/phpstan/phpstan-phpunit/pull/61
og:image:altCloses #58 I copied the ExtensionTestCase from https://github.com/phpstan/phpstan-symfony/blob/master/tests/Type/Symfony/ExtensionTestCase.php. Is there a better way to test this?
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameKhartir
hostnamegithub.com
expected-hostnamegithub.com
None25854482a1773a7c1ebb8be3d2bc1c6e61d82d78126be63b5044474a86d44d9e
turbo-cache-controlno-cache
go-importgithub.com/phpstan/phpstan-phpunit git https://github.com/phpstan/phpstan-phpunit.git
octolytics-dimension-user_id16435710
octolytics-dimension-user_loginphpstan
octolytics-dimension-repository_id105883921
octolytics-dimension-repository_nwophpstan/phpstan-phpunit
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id105883921
octolytics-dimension-repository_network_root_nwophpstan/phpstan-phpunit
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
releasee4f5c239e31f1f680e6bbc419ff92d774da616ec
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-phpunit/pull/61#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-phpunit%2Fpull%2F61
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-phpunit%2Fpull%2F61
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-phpunit
Reloadhttps://github.com/phpstan/phpstan-phpunit/pull/61
Reloadhttps://github.com/phpstan/phpstan-phpunit/pull/61
Reloadhttps://github.com/phpstan/phpstan-phpunit/pull/61
phpstanhttps://github.com/phpstan
phpstan-phpunithttps://github.com/phpstan/phpstan-phpunit
Codehttps://github.com/phpstan/phpstan-phpunit
Issues34 (34)https://github.com/phpstan/phpstan-phpunit/issues
Pull requests7 (7)https://github.com/phpstan/phpstan-phpunit/pulls
Actionshttps://github.com/phpstan/phpstan-phpunit/actions
Projectshttps://github.com/phpstan/phpstan-phpunit/projects
Security and qualityhttps://github.com/phpstan/phpstan-phpunit/security
Insightshttps://github.com/phpstan/phpstan-phpunit/insights
https://github.com/phpstan/phpstan-phpunit
Khartirhttps://github.com/Khartir
phpstan:1.1.xhttps://github.com/phpstan/phpstan-phpunit/tree/1.1.x
Khartir:allow-mock-multiplehttps://github.com/Khartir/phpstan-phpunit/tree/allow-mock-multiple
Conversationhttps://github.com/phpstan/phpstan-phpunit/pull/61
Commits3 (3)https://github.com/phpstan/phpstan-phpunit/pull/61/commits
Checkshttps://github.com/phpstan/phpstan-phpunit/pull/61/checks
Files changedhttps://github.com/phpstan/phpstan-phpunit/pull/61/files
Set correct types for mocks of multiple classeshttps://github.com/phpstan/phpstan-phpunit/pull/61#top
Khartirhttps://github.com/Khartir
phpstan:1.1.xhttps://github.com/phpstan/phpstan-phpunit/tree/1.1.x
Khartir:allow-mock-multiplehttps://github.com/Khartir/phpstan-phpunit/tree/allow-mock-multiple
https://github.com/Khartir
Khartirhttps://github.com/Khartir
Feb 7, 2020https://github.com/phpstan/phpstan-phpunit/pull/61#issue-561608916
#58https://github.com/phpstan/phpstan-phpunit/issues/58
https://github.com/phpstan/phpstan-symfony/blob/master/tests/Type/Symfony/ExtensionTestCase.phphttps://github.com/phpstan/phpstan-symfony/blob/master/tests/Type/Symfony/ExtensionTestCase.php
Please reload this pagehttps://github.com/phpstan/phpstan-phpunit/pull/61
Khartirhttps://github.com/Khartir
February 7, 2020 13:17https://github.com/phpstan/phpstan-phpunit/pull/61#commits-pushed-e27a765
https://github.com/Khartir
Revert "Provide the same functionality in simpler way with stubs"https://github.com/phpstan/phpstan-phpunit/pull/61/commits/e27a7657f69a10ac2406b4c73040045ed99f94da
e27a765https://github.com/phpstan/phpstan-phpunit/pull/61/commits/e27a7657f69a10ac2406b4c73040045ed99f94da
846a5fahttps://github.com/Khartir/phpstan-phpunit/commit/846a5fa9d0737757891ccbceff2c63f9773e51c8
https://github.com/Khartir
handle mocking multiple classeshttps://github.com/phpstan/phpstan-phpunit/pull/61/commits/29b543f8da16e488515c1b5dee5ff3a9b53b9154
29b543fhttps://github.com/phpstan/phpstan-phpunit/pull/61/commits/29b543f8da16e488515c1b5dee5ff3a9b53b9154
https://github.com/Khartir
fixes CI errorshttps://github.com/phpstan/phpstan-phpunit/pull/61/commits/613e460c8064764083d8d01085d52aecdffce182
613e460https://github.com/phpstan/phpstan-phpunit/pull/61/commits/613e460c8064764083d8d01085d52aecdffce182
https://github.com/Khartir
Khartirhttps://github.com/Khartir
force-pushedhttps://github.com/phpstan/phpstan-phpunit/compare/d698269d458e2ecf57685619c2c101a7dbdc036b..613e460c8064764083d8d01085d52aecdffce182
d698269https://github.com/phpstan/phpstan-phpunit/commit/d698269d458e2ecf57685619c2c101a7dbdc036b
613e460https://github.com/phpstan/phpstan-phpunit/commit/613e460c8064764083d8d01085d52aecdffce182
Compare https://github.com/phpstan/phpstan-phpunit/compare/d698269d458e2ecf57685619c2c101a7dbdc036b..613e460c8064764083d8d01085d52aecdffce182
February 7, 2020 13:49https://github.com/phpstan/phpstan-phpunit/pull/61#event-3017710802
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Nov 1, 2025 https://github.com/phpstan/phpstan-phpunit/pull/61#ref-issue-551453605
Mocking multiple types reports errors with phpstan 0.12 #58 https://github.com/phpstan/phpstan-phpunit/issues/58
https://github.co/hiddenchars
https://github.com/phpstan/phpstan-phpunit/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-phpunit%2Fpull%2F61
Please reload this pagehttps://github.com/phpstan/phpstan-phpunit/pull/61
Mocking multiple types reports errors with phpstan 0.12 https://github.com/phpstan/phpstan-phpunit/issues/58
Please reload this pagehttps://github.com/phpstan/phpstan-phpunit/pull/61
https://github.com/Khartir
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.