| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:e8ba96c1-d316-381d-6c44-e1a7218f6529 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C5C8:281A12:165FFAB:1F6F32B:6AFA428E |
| html-safe-nonce | 774593c6b3eae02aa7008423ebb126923b488def0f1b66581c2bb6a51621e385 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUM4OjI4MUExMjoxNjVGRkFCOjFGNkYzMkI6NkFGQTQyOEUiLCJ2aXNpdG9yX2lkIjoiMjY4NzkzMzkyMzExNDc2Mjg5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 112f421b7fdb1aaee385935ccd4dff963bebed23a7bbdd2f6db5c55cacc5167e |
| hovercard-subject-tag | pull_request:4168238087 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/wp-cli/wp-cli-tests/345/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/fd22b9c64e2f0474c49d44e4e01e1107c6e9c0ff8b114a08cda0cd22a540f30d/wp-cli/wp-cli-tests/pull/345 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fd22b9c64e2f0474c49d44e4e01e1107c6e9c0ff8b114a08cda0cd22a540f30d/wp-cli/wp-cli-tests/pull/345 |
| og:image:alt | 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.
... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | swissspidy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-cache |
| go-import | github.com/wp-cli/wp-cli-tests git https://github.com/wp-cli/wp-cli-tests.git |
| octolytics-dimension-user_id | 1570774 |
| octolytics-dimension-user_login | wp-cli |
| octolytics-dimension-repository_id | 134428237 |
| octolytics-dimension-repository_nwo | wp-cli/wp-cli-tests |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 134428237 |
| octolytics-dimension-repository_network_root_nwo | wp-cli/wp-cli-tests |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/wp-cli/wp-cli-tests/pull/345#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli-tests%2Fpull%2F345 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli-tests%2Fpull%2F345 |
| Sign up | https://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 |
| Reload | https://github.com/wp-cli/wp-cli-tests/pull/345 |
| Reload | https://github.com/wp-cli/wp-cli-tests/pull/345 |
| Reload | https://github.com/wp-cli/wp-cli-tests/pull/345 |
| wp-cli | https://github.com/wp-cli |
| wp-cli-tests | https://github.com/wp-cli/wp-cli-tests |
| Code | https://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 |
| Actions | https://github.com/wp-cli/wp-cli-tests/actions |
| Security and quality | https://github.com/wp-cli/wp-cli-tests/security |
| Insights | https://github.com/wp-cli/wp-cli-tests/pulse |
| https://github.com/wp-cli/wp-cli-tests |
| swissspidy | https://github.com/swissspidy |
| main | https://github.com/wp-cli/wp-cli-tests/tree/main |
| add/add-hook-extension | https://github.com/wp-cli/wp-cli-tests/tree/add/add-hook-extension |
| Conversation | https://github.com/wp-cli/wp-cli-tests/pull/345 |
| Commits2 (2) | https://github.com/wp-cli/wp-cli-tests/pull/345/commits |
| Checks | https://github.com/wp-cli/wp-cli-tests/pull/345/checks |
| Files changed | https://github.com/wp-cli/wp-cli-tests/pull/345/files |
| PHPStan: Add rule for WP_CLI::add_hook() usage | https://github.com/wp-cli/wp-cli-tests/pull/345#top |
| swissspidy | https://github.com/swissspidy |
| main | https://github.com/wp-cli/wp-cli-tests/tree/main |
| add/add-hook-extension | https://github.com/wp-cli/wp-cli-tests/tree/add/add-hook-extension |
|
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| Jul 30, 2026 | https://github.com/wp-cli/wp-cli-tests/pull/345#issue-5018423501 |
| Please reload this page | https://github.com/wp-cli/wp-cli-tests/pull/345 |
| #344 | https://github.com/wp-cli/wp-cli-tests/pull/344 |
| Please reload this page | https://github.com/wp-cli/wp-cli-tests/pull/345 |
|
| https://github.com/swissspidy |
| PHPStan: Add rule for WP_CLI::add_hook() usage | https://github.com/wp-cli/wp-cli-tests/pull/345/commits/ee89fcf95a2e44d1094a6fe833798929e06b2ead |
| ee89fcf | https://github.com/wp-cli/wp-cli-tests/pull/345/commits/ee89fcf95a2e44d1094a6fe833798929e06b2ead |
| #344 | https://github.com/wp-cli/wp-cli-tests/pull/344 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| 5.1.12 | https://github.com/wp-cli/wp-cli-tests/milestone/127 |
| Jul 30, 2026 | https://github.com/wp-cli/wp-cli-tests/pull/345#event-28712636947 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| code owner | https://github.com/wp-cli/wp-cli-tests/blob/d339d2d4c526a60b9cd1f80026e2f359699b6637/.github/CODEOWNERS#L1 |
| July 30, 2026 09:46 | https://github.com/wp-cli/wp-cli-tests/pull/345#event-28712637525 |
| https://github.com/swissspidy |
| swissspidy | https://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, 2026 | https://github.com/wp-cli/wp-cli-tests/pull/345#event-28712637727 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Jul 30, 2026 | https://github.com/wp-cli/wp-cli-tests/pull/345#issuecomment-5129242355 |
| Please reload this page | https://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 reviews | https://app.coderabbit.ai/settings/billing?tab=usage&orgId=7ae41d5e-ceed-41a3-b73e-85c23ff64476 |
| docs | https://docs.coderabbit.ai/management/plans#rate-limits |
| ee89fcf | https://github.com/wp-cli/wp-cli-tests/commit/ee89fcf95a2e44d1094a6fe833798929e06b2ead |
| 881bfc8 | https://github.com/wp-cli/wp-cli-tests/commit/881bfc8bb1eab0d211624c7d7998f709b1c73751 |
| CodeRabbit | https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=wp-cli/wp-cli-tests&utm_content=345 |
| X | https://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 |
| Mastodon | https://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 |
| Reddit | https://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 |
| LinkedIn | https://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 page | https://github.com/wp-cli/wp-cli-tests/pull/345 |
| https://github.com/apps/codecov |
| codecov | https://github.com/apps/codecov |
| Jul 30, 2026 | https://github.com/wp-cli/wp-cli-tests/pull/345#issuecomment-5129256904 |
| Codecov | https://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 lines | https://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.php | 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#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 page | https://github.com/wp-cli/wp-cli-tests/pull/345 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://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 |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/wp-cli/wp-cli-tests/pull/345#pullrequestreview-4817519030 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| d339d2d | https://github.com/wp-cli/wp-cli-tests/commit/d339d2d4c526a60b9cd1f80026e2f359699b6637 |
| ee89fcf | https://github.com/wp-cli/wp-cli-tests/commit/ee89fcf95a2e44d1094a6fe833798929e06b2ead |
| Please reload this page | https://github.com/wp-cli/wp-cli-tests/pull/345 |
| src/PHPStan/WPCliAddHookCallbackRule.php | https://github.com/wp-cli/wp-cli-tests/pull/345/files/ee89fcf95a2e44d1094a6fe833798929e06b2ead#diff-d98cac287c6f17856d2f41921cf01b7e990f29dae1283ea87131abdfd13c36ff |
| Please reload this page | https://github.com/wp-cli/wp-cli-tests/pull/345 |
|
| https://github.com/swissspidy |
| Add identifiers | https://github.com/wp-cli/wp-cli-tests/pull/345/commits/881bfc8bb1eab0d211624c7d7998f709b1c73751 |
| 881bfc8 | https://github.com/wp-cli/wp-cli-tests/pull/345/commits/881bfc8bb1eab0d211624c7d7998f709b1c73751 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| 7eaba17 | https://github.com/wp-cli/wp-cli-tests/commit/7eaba17da88141f03c2b85bed8afb9af0e48c322 |
| Jul 30, 2026 | https://github.com/wp-cli/wp-cli-tests/pull/345#event-28718936269 |
| Please reload this page | https://github.com/wp-cli/wp-cli-tests/pull/345 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| July 30, 2026 12:08 | https://github.com/wp-cli/wp-cli-tests/pull/345#event-28718938427 |
| https://github.com/swissspidy |
| swissspidy | https://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 free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://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 page | https://github.com/wp-cli/wp-cli-tests/pull/345 |
|
| https://github.com/swissspidy |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |