| 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:9152fd84-9576-9bee-b80e-1fe07ace0c3b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A200:223B8D:104341F:167FBE3:6AFA3DEB |
| html-safe-nonce | e7d6dfcd23b0765b0d19a7b51a72a2fa5568645062a3d9eedbc1a8431b0d0984 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjAwOjIyM0I4RDoxMDQzNDFGOjE2N0ZCRTM6NkFGQTNERUIiLCJ2aXNpdG9yX2lkIjoiMTE5ODIxNjA1OTcwNjU1NTg4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6e99b679d43513ab9fd7e23bf7d108ef8fd5b6ceeaa49d185ff3cab7d99e3cc3 |
| hovercard-subject-tag | pull_request:4169985671 |
| 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/346/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/b3590931550f304b5e41ee43934b0fede1507b3c6cbc2295c709d2a65bba8c70/wp-cli/wp-cli-tests/pull/346 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b3590931550f304b5e41ee43934b0fede1507b3c6cbc2295c709d2a65bba8c70/wp-cli/wp-cli-tests/pull/346 |
| og:image:alt | Follow-up to #344 and #345
Summary by CodeRabbit
New Features
Added improved static analysis for WP_CLI::get_config(), inferring more accurate return types based on the configuration key reques... |
| 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/346#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%2F346 |
| 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%2F346 |
| 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/346 |
| Reload | https://github.com/wp-cli/wp-cli-tests/pull/346 |
| Reload | https://github.com/wp-cli/wp-cli-tests/pull/346 |
| 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/phpstan-get-config | https://github.com/wp-cli/wp-cli-tests/tree/add/phpstan-get-config |
| Conversation | https://github.com/wp-cli/wp-cli-tests/pull/346 |
| Commits3 (3) | https://github.com/wp-cli/wp-cli-tests/pull/346/commits |
| Checks | https://github.com/wp-cli/wp-cli-tests/pull/346/checks |
| Files changed | https://github.com/wp-cli/wp-cli-tests/pull/346/files |
| PHPStan: Add dynamic return type extension for WP_CLI::get_config() | https://github.com/wp-cli/wp-cli-tests/pull/346#top |
| swissspidy | https://github.com/swissspidy |
| main | https://github.com/wp-cli/wp-cli-tests/tree/main |
| add/phpstan-get-config | https://github.com/wp-cli/wp-cli-tests/tree/add/phpstan-get-config |
|
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| Jul 30, 2026 | https://github.com/wp-cli/wp-cli-tests/pull/346#issue-5020464553 |
| Please reload this page | https://github.com/wp-cli/wp-cli-tests/pull/346 |
| #344 | https://github.com/wp-cli/wp-cli-tests/pull/344 |
| #345 | https://github.com/wp-cli/wp-cli-tests/pull/345 |
| Please reload this page | https://github.com/wp-cli/wp-cli-tests/pull/346 |
|
| https://github.com/swissspidy |
| PHPStan: Add dynamic return type extension for WP_CLI::get_config() | https://github.com/wp-cli/wp-cli-tests/pull/346/commits/912f3aab2ad9b23853eec7df22abe7d07717da87 |
| 912f3aa | https://github.com/wp-cli/wp-cli-tests/pull/346/commits/912f3aab2ad9b23853eec7df22abe7d07717da87 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| 5.2.0 | https://github.com/wp-cli/wp-cli-tests/milestone/127 |
| Jul 30, 2026 | https://github.com/wp-cli/wp-cli-tests/pull/346#event-28724325214 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| code owner | https://github.com/wp-cli/wp-cli-tests/blob/7eaba17da88141f03c2b85bed8afb9af0e48c322/.github/CODEOWNERS#L1 |
| July 30, 2026 13:54 | https://github.com/wp-cli/wp-cli-tests/pull/346#event-28724325812 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
|
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/346#event-28724325999 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
scope:artifacts
| https://github.com/wp-cli/wp-cli-tests/issues?q=state%3Aopen%20label%3Ascope%3Aartifacts |
| Jul 30, 2026 | https://github.com/wp-cli/wp-cli-tests/pull/346#event-28724339558 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Jul 30, 2026 | https://github.com/wp-cli/wp-cli-tests/pull/346#issuecomment-5131728955 |
| Please reload this page | https://github.com/wp-cli/wp-cli-tests/pull/346 |
| https://app.coderabbit.ai/change-stack/wp-cli/wp-cli-tests/pull/346?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack |
| 912f3aa | https://github.com/wp-cli/wp-cli-tests/commit/912f3aab2ad9b23853eec7df22abe7d07717da87 |
| 626cd2b | https://github.com/wp-cli/wp-cli-tests/commit/626cd2bbf8de71139dd843938ca4a0911c347f22 |
| CodeRabbit | https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=wp-cli/wp-cli-tests&utm_content=346 |
| 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/346 |
| https://github.com/apps/codecov |
| codecov | https://github.com/apps/codecov |
| Jul 30, 2026 | https://github.com/wp-cli/wp-cli-tests/pull/346#issuecomment-5131747537 |
| Codecov | https://app.codecov.io/gh/wp-cli/wp-cli-tests/pull/346?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/346?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli |
| ...PStan/WPCliGetConfigDynamicReturnTypeExtension.php | https://app.codecov.io/gh/wp-cli/wp-cli-tests/pull/346?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli#diff-c3JjL1BIUFN0YW4vV1BDbGlHZXRDb25maWdEeW5hbWljUmV0dXJuVHlwZUV4dGVuc2lvbi5waHA= |
| 71 Missing ⚠️ | https://app.codecov.io/gh/wp-cli/wp-cli-tests/pull/346?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/346 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Jul 30, 2026
| https://github.com/wp-cli/wp-cli-tests/pull/346#pullrequestreview-4819556740 |
|
View reviewed changes
| https://github.com/wp-cli/wp-cli-tests/pull/346/files/912f3aab2ad9b23853eec7df22abe7d07717da87 |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/wp-cli/wp-cli-tests/pull/346#pullrequestreview-4819556740 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 7eaba17 | https://github.com/wp-cli/wp-cli-tests/commit/7eaba17da88141f03c2b85bed8afb9af0e48c322 |
| 912f3aa | https://github.com/wp-cli/wp-cli-tests/commit/912f3aab2ad9b23853eec7df22abe7d07717da87 |
| Please reload this page | https://github.com/wp-cli/wp-cli-tests/pull/346 |
| src/PHPStan/WPCliGetConfigDynamicReturnTypeExtension.php | https://github.com/wp-cli/wp-cli-tests/pull/346/files/912f3aab2ad9b23853eec7df22abe7d07717da87#diff-091be8dca53d23592eb00eb9ae25795ffb2fe73937bb1e605f31cd30fc383fa3 |
| Please reload this page | https://github.com/wp-cli/wp-cli-tests/pull/346 |
| src/PHPStan/WPCliGetConfigDynamicReturnTypeExtension.php | https://github.com/wp-cli/wp-cli-tests/pull/346/files/912f3aab2ad9b23853eec7df22abe7d07717da87#diff-091be8dca53d23592eb00eb9ae25795ffb2fe73937bb1e605f31cd30fc383fa3 |
| Please reload this page | https://github.com/wp-cli/wp-cli-tests/pull/346 |
| tests/data/get_config.php | https://github.com/wp-cli/wp-cli-tests/pull/346/files/912f3aab2ad9b23853eec7df22abe7d07717da87#diff-63ae8078374b7f0a4a3d9db01090097c020e74bce36a8e74c22bb548acdb8e70 |
| Please reload this page | https://github.com/wp-cli/wp-cli-tests/pull/346 |
| swissspidy | https://github.com/swissspidy |
| July 30, 2026 16:35 | https://github.com/wp-cli/wp-cli-tests/pull/346#commits-pushed-bf03a2d |
|
| https://github.com/swissspidy |
| PHPCS fix | https://github.com/wp-cli/wp-cli-tests/pull/346/commits/bf03a2d2af9bfc7dc8383928584e1300dfb58625 |
| bf03a2d | https://github.com/wp-cli/wp-cli-tests/pull/346/commits/bf03a2d2af9bfc7dc8383928584e1300dfb58625 |
|
| https://github.com/swissspidy |
| Address code review comments | https://github.com/wp-cli/wp-cli-tests/pull/346/commits/626cd2bbf8de71139dd843938ca4a0911c347f22 |
| 626cd2b | https://github.com/wp-cli/wp-cli-tests/pull/346/commits/626cd2bbf8de71139dd843938ca4a0911c347f22 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| Jul 30, 2026 | https://github.com/wp-cli/wp-cli-tests/pull/346#issuecomment-5132465611 |
| @coderabbitai | https://github.com/coderabbitai |
| Please reload this page | https://github.com/wp-cli/wp-cli-tests/pull/346 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Jul 30, 2026 | https://github.com/wp-cli/wp-cli-tests/pull/346#issuecomment-5132474864 |
| Please reload this page | https://github.com/wp-cli/wp-cli-tests/pull/346 |
| Please reload this page | https://github.com/wp-cli/wp-cli-tests/pull/346 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| f405348 | https://github.com/wp-cli/wp-cli-tests/commit/f405348c7a34567b79e1467206439c5b5a22ff9c |
| Jul 30, 2026 | https://github.com/wp-cli/wp-cli-tests/pull/346#event-28728265969 |
| Please reload this page | https://github.com/wp-cli/wp-cli-tests/pull/346 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| July 30, 2026 15:05 | https://github.com/wp-cli/wp-cli-tests/pull/346#event-28728267407 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Aug 4, 2026
| https://github.com/wp-cli/wp-cli-tests/pull/346#ref-pullrequest-5062200129 |
|
PHPStan: Resolve GlobalConfig dynamically in WPCliGetConfigDynamicReturnTypeExtension
#347
| https://github.com/wp-cli/wp-cli-tests/pull/347 |
| 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%2F346 |
|
| https://github.com/apps/coderabbitai |
|
coderabbitai[bot]
| https://github.com/apps/coderabbitai |
|
| https://github.com/wp-cli/wp-cli-tests/pull/346/files/912f3aab2ad9b23853eec7df22abe7d07717da87 |
| Please reload this page | https://github.com/wp-cli/wp-cli-tests/pull/346 |
|
scope:artifacts
| https://github.com/wp-cli/wp-cli-tests/issues?q=state%3Aopen%20label%3Ascope%3Aartifacts |
|
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/346 |
|
| 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 |