René's URL Explorer Experiment


Title: PHPStan: Add rule for `WP_CLI::add_hook()` usage by swissspidy · Pull Request #345 · wp-cli/wp-cli-tests · GitHub

Open Graph Title: PHPStan: Add rule for `WP_CLI::add_hook()` usage by swissspidy · Pull Request #345 · wp-cli/wp-cli-tests

X Title: PHPStan: Add rule for `WP_CLI::add_hook()` usage by swissspidy · Pull Request #345 · wp-cli/wp-cli-tests

Description: WP-CLI testing framework. Contribute to wp-cli/wp-cli-tests development by creating an account on GitHub.

Open Graph Description: Complements #344 Summary by CodeRabbit New Features Added static analysis for WP_CLI::add_hook() callbacks. Detects callbacks that require more parameters than the corresponding hook provides. ...

X Description: Complements #344 Summary by CodeRabbit New Features Added static analysis for WP_CLI::add_hook() callbacks. Detects callbacks that require more parameters than the corresponding hook provides. ...

Opengraph URL: https://github.com/wp-cli/wp-cli-tests/pull/345

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
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:e8ba96c1-d316-381d-6c44-e1a7218f6529
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC5C8:281A12:165FFAB:1F6F32B:6AFA428E
html-safe-nonce774593c6b3eae02aa7008423ebb126923b488def0f1b66581c2bb6a51621e385
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUM4OjI4MUExMjoxNjVGRkFCOjFGNkYzMkI6NkFGQTQyOEUiLCJ2aXNpdG9yX2lkIjoiMjY4NzkzMzkyMzExNDc2Mjg5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac112f421b7fdb1aaee385935ccd4dff963bebed23a7bbdd2f6db5c55cacc5167e
hovercard-subject-tagpull_request:4168238087
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/wp-cli/wp-cli-tests/345/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fd22b9c64e2f0474c49d44e4e01e1107c6e9c0ff8b114a08cda0cd22a540f30d/wp-cli/wp-cli-tests/pull/345
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fd22b9c64e2f0474c49d44e4e01e1107c6e9c0ff8b114a08cda0cd22a540f30d/wp-cli/wp-cli-tests/pull/345
og:image:altComplements #344 Summary by CodeRabbit New Features Added static analysis for WP_CLI::add_hook() callbacks. Detects callbacks that require more parameters than the corresponding hook provides. ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameswissspidy
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-cache
go-importgithub.com/wp-cli/wp-cli-tests git https://github.com/wp-cli/wp-cli-tests.git
octolytics-dimension-user_id1570774
octolytics-dimension-user_loginwp-cli
octolytics-dimension-repository_id134428237
octolytics-dimension-repository_nwowp-cli/wp-cli-tests
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id134428237
octolytics-dimension-repository_network_root_nwowp-cli/wp-cli-tests
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
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/wp-cli/wp-cli-tests/pull/345#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli-tests%2Fpull%2F345
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%2Fwp-cli%2Fwp-cli-tests%2Fpull%2F345
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=wp-cli%2Fwp-cli-tests
Reloadhttps://github.com/wp-cli/wp-cli-tests/pull/345
Reloadhttps://github.com/wp-cli/wp-cli-tests/pull/345
Reloadhttps://github.com/wp-cli/wp-cli-tests/pull/345
wp-clihttps://github.com/wp-cli
wp-cli-testshttps://github.com/wp-cli/wp-cli-tests
Codehttps://github.com/wp-cli/wp-cli-tests
Issues16 (16)https://github.com/wp-cli/wp-cli-tests/issues
Pull requests5 (5)https://github.com/wp-cli/wp-cli-tests/pulls
Actionshttps://github.com/wp-cli/wp-cli-tests/actions
Security and qualityhttps://github.com/wp-cli/wp-cli-tests/security
Insightshttps://github.com/wp-cli/wp-cli-tests/pulse
https://github.com/wp-cli/wp-cli-tests
swissspidyhttps://github.com/swissspidy
mainhttps://github.com/wp-cli/wp-cli-tests/tree/main
add/add-hook-extensionhttps://github.com/wp-cli/wp-cli-tests/tree/add/add-hook-extension
Conversationhttps://github.com/wp-cli/wp-cli-tests/pull/345
Commits2 (2)https://github.com/wp-cli/wp-cli-tests/pull/345/commits
Checkshttps://github.com/wp-cli/wp-cli-tests/pull/345/checks
Files changedhttps://github.com/wp-cli/wp-cli-tests/pull/345/files
PHPStan: Add rule for WP_CLI::add_hook() usagehttps://github.com/wp-cli/wp-cli-tests/pull/345#top
swissspidyhttps://github.com/swissspidy
mainhttps://github.com/wp-cli/wp-cli-tests/tree/main
add/add-hook-extensionhttps://github.com/wp-cli/wp-cli-tests/tree/add/add-hook-extension
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
Jul 30, 2026https://github.com/wp-cli/wp-cli-tests/pull/345#issue-5018423501
Please reload this pagehttps://github.com/wp-cli/wp-cli-tests/pull/345
#344https://github.com/wp-cli/wp-cli-tests/pull/344
Please reload this pagehttps://github.com/wp-cli/wp-cli-tests/pull/345
https://github.com/swissspidy
PHPStan: Add rule for WP_CLI::add_hook() usagehttps://github.com/wp-cli/wp-cli-tests/pull/345/commits/ee89fcf95a2e44d1094a6fe833798929e06b2ead
ee89fcfhttps://github.com/wp-cli/wp-cli-tests/pull/345/commits/ee89fcf95a2e44d1094a6fe833798929e06b2ead
#344https://github.com/wp-cli/wp-cli-tests/pull/344
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
5.1.12https://github.com/wp-cli/wp-cli-tests/milestone/127
Jul 30, 2026https://github.com/wp-cli/wp-cli-tests/pull/345#event-28712636947
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
code ownerhttps://github.com/wp-cli/wp-cli-tests/blob/d339d2d4c526a60b9cd1f80026e2f359699b6637/.github/CODEOWNERS#L1
July 30, 2026 09:46https://github.com/wp-cli/wp-cli-tests/pull/345#event-28712637525
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
scope:documentation https://github.com/wp-cli/wp-cli-tests/issues?q=state%3Aopen%20label%3Ascope%3Adocumentation
scope:testing https://github.com/wp-cli/wp-cli-tests/issues?q=state%3Aopen%20label%3Ascope%3Atesting
Jul 30, 2026https://github.com/wp-cli/wp-cli-tests/pull/345#event-28712637727
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 30, 2026https://github.com/wp-cli/wp-cli-tests/pull/345#issuecomment-5129242355
Please reload this pagehttps://github.com/wp-cli/wp-cli-tests/pull/345
https://app.coderabbit.ai/change-stack/wp-cli/wp-cli-tests/pull/345?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
usage-based reviewshttps://app.coderabbit.ai/settings/billing?tab=usage&orgId=7ae41d5e-ceed-41a3-b73e-85c23ff64476
docshttps://docs.coderabbit.ai/management/plans#rate-limits
ee89fcfhttps://github.com/wp-cli/wp-cli-tests/commit/ee89fcf95a2e44d1094a6fe833798929e06b2ead
881bfc8https://github.com/wp-cli/wp-cli-tests/commit/881bfc8bb1eab0d211624c7d7998f709b1c73751
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=wp-cli/wp-cli-tests&utm_content=345
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/wp-cli/wp-cli-tests/pull/345
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Jul 30, 2026https://github.com/wp-cli/wp-cli-tests/pull/345#issuecomment-5129256904
Codecovhttps://app.codecov.io/gh/wp-cli/wp-cli-tests/pull/345?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
Files with missing lineshttps://app.codecov.io/gh/wp-cli/wp-cli-tests/pull/345?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
src/PHPStan/WPCliAddHookCallbackRule.phphttps://app.codecov.io/gh/wp-cli/wp-cli-tests/pull/345?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli#diff-c3JjL1BIUFN0YW4vV1BDbGlBZGRIb29rQ2FsbGJhY2tSdWxlLnBocA==
9 Missing ⚠️ https://app.codecov.io/gh/wp-cli/wp-cli-tests/pull/345?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
Let us know!https://github.com/codecov/feedback/issues/255
Please reload this pagehttps://github.com/wp-cli/wp-cli-tests/pull/345
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 30, 2026 https://github.com/wp-cli/wp-cli-tests/pull/345#pullrequestreview-4817519030
View reviewed changes https://github.com/wp-cli/wp-cli-tests/pull/345/files/ee89fcf95a2e44d1094a6fe833798929e06b2ead
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/wp-cli/wp-cli-tests/pull/345#pullrequestreview-4817519030
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
d339d2dhttps://github.com/wp-cli/wp-cli-tests/commit/d339d2d4c526a60b9cd1f80026e2f359699b6637
ee89fcfhttps://github.com/wp-cli/wp-cli-tests/commit/ee89fcf95a2e44d1094a6fe833798929e06b2ead
Please reload this pagehttps://github.com/wp-cli/wp-cli-tests/pull/345
src/PHPStan/WPCliAddHookCallbackRule.phphttps://github.com/wp-cli/wp-cli-tests/pull/345/files/ee89fcf95a2e44d1094a6fe833798929e06b2ead#diff-d98cac287c6f17856d2f41921cf01b7e990f29dae1283ea87131abdfd13c36ff
Please reload this pagehttps://github.com/wp-cli/wp-cli-tests/pull/345
https://github.com/swissspidy
Add identifiershttps://github.com/wp-cli/wp-cli-tests/pull/345/commits/881bfc8bb1eab0d211624c7d7998f709b1c73751
881bfc8https://github.com/wp-cli/wp-cli-tests/pull/345/commits/881bfc8bb1eab0d211624c7d7998f709b1c73751
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
7eaba17https://github.com/wp-cli/wp-cli-tests/commit/7eaba17da88141f03c2b85bed8afb9af0e48c322
Jul 30, 2026https://github.com/wp-cli/wp-cli-tests/pull/345#event-28718936269
Please reload this pagehttps://github.com/wp-cli/wp-cli-tests/pull/345
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
July 30, 2026 12:08https://github.com/wp-cli/wp-cli-tests/pull/345#event-28718938427
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
Jul 30, 2026 https://github.com/wp-cli/wp-cli-tests/pull/345#ref-pullrequest-5020464553
PHPStan: Add dynamic return type extension for WP_CLI::get_config() #346 https://github.com/wp-cli/wp-cli-tests/pull/346
https://github.co/hiddenchars
https://github.com/wp-cli/wp-cli-tests/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%2Fwp-cli%2Fwp-cli-tests%2Fpull%2F345
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/wp-cli/wp-cli-tests/pull/345/files/ee89fcf95a2e44d1094a6fe833798929e06b2ead
Please reload this pagehttps://github.com/wp-cli/wp-cli-tests/pull/345
scope:documentation https://github.com/wp-cli/wp-cli-tests/issues?q=state%3Aopen%20label%3Ascope%3Adocumentation
scope:testing https://github.com/wp-cli/wp-cli-tests/issues?q=state%3Aopen%20label%3Ascope%3Atesting
5.2.0 https://github.com/wp-cli/wp-cli-tests/milestone/127
Please reload this pagehttps://github.com/wp-cli/wp-cli-tests/pull/345
https://github.com/swissspidy
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.