| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:88948117-6a28-2040-f57f-4b7afbaf6e96 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AAD8:A20F9:29FE84:396D85:6B00C259 |
| html-safe-nonce | 90c6c5c076d3ad8f5b77e9807bccdf362ff8de0ae8ce6f90850099cf07862b9c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUQ4OkEyMEY5OjI5RkU4NDozOTZEODU6NkIwMEMyNTkiLCJ2aXNpdG9yX2lkIjoiODY3MDEwMjg2ODQ5OTQxNTY0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 553ff9effca13cdf213cbfea1896caec2461eab50d7895625c6670dc359c782a |
| hovercard-subject-tag | pull_request:3357951885 |
| 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/phpstan/phpstan-src/5134/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d304770648c509be186135b6027a0acf0ce2febcbd795f20b639c10b86214e49/phpstan/phpstan-src/pull/5134 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d304770648c509be186135b6027a0acf0ce2febcbd795f20b639c10b86214e49/phpstan/phpstan-src/pull/5134 |
| og:image:alt | This PR partially resolves phpstan/phpstan#12939 by specifying array element types when array_all returns true.
To keep this initial PR focused, it currently supports only ArrowFunction (e.g., arra... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | uekann |
| hostname | github.com |
| expected-hostname | github.com |
| None | 93edd3bebc4afb7ce711ee74cb5d2a95927850b082a4d43e212222389cb1c415 |
| turbo-cache-control | no-cache |
| go-import | github.com/phpstan/phpstan-src git https://github.com/phpstan/phpstan-src.git |
| octolytics-dimension-user_id | 16435710 |
| octolytics-dimension-user_login | phpstan |
| octolytics-dimension-repository_id | 219334214 |
| octolytics-dimension-repository_nwo | phpstan/phpstan-src |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 219334214 |
| octolytics-dimension-repository_network_root_nwo | phpstan/phpstan-src |
| 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 | 1fee81a280ea86312b69448e261b418189bfd5b5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/phpstan/phpstan-src/pull/5134#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F5134 |
| 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%2Fphpstan%2Fphpstan-src%2Fpull%2F5134 |
| 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=phpstan%2Fphpstan-src |
| Reload | https://github.com/phpstan/phpstan-src/pull/5134 |
| Reload | https://github.com/phpstan/phpstan-src/pull/5134 |
| Reload | https://github.com/phpstan/phpstan-src/pull/5134 |
| phpstan | https://github.com/phpstan |
| phpstan-src | https://github.com/phpstan/phpstan-src |
| Code | https://github.com/phpstan/phpstan-src |
| Pull requests186 (186) | https://github.com/phpstan/phpstan-src/pulls |
| Actions | https://github.com/phpstan/phpstan-src/actions |
| Security and quality | https://github.com/phpstan/phpstan-src/security |
| Insights | https://github.com/phpstan/phpstan-src/insights |
| https://github.com/phpstan/phpstan-src |
| uekann | https://github.com/uekann |
| phpstan:2.3.x | https://github.com/phpstan/phpstan-src/tree/2.3.x |
| uekann:feature/type-specify-array-all | https://github.com/uekann/phpstan-src/tree/feature/type-specify-array-all |
| Conversation | https://github.com/phpstan/phpstan-src/pull/5134 |
| Commits17 (17) | https://github.com/phpstan/phpstan-src/pull/5134/commits |
| Checks | https://github.com/phpstan/phpstan-src/pull/5134/checks |
| Files changed | https://github.com/phpstan/phpstan-src/pull/5134/files |
| Implement array_all type specifying for arrow functions | https://github.com/phpstan/phpstan-src/pull/5134#top |
| uekann | https://github.com/uekann |
| phpstan:2.3.x | https://github.com/phpstan/phpstan-src/tree/2.3.x |
| uekann:feature/type-specify-array-all | https://github.com/uekann/phpstan-src/tree/feature/type-specify-array-all |
|
| https://github.com/uekann |
| uekann | https://github.com/uekann |
| Mar 5, 2026 | https://github.com/phpstan/phpstan-src/pull/5134#issue-4027252645 |
| phpstan/phpstan#12939 | https://github.com/phpstan/phpstan/issues/12939 |
| https://3v4l.org/2DQ9a#veol | https://3v4l.org/2DQ9a#veol |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| https://github.com/uekann |
| uekann | https://github.com/uekann |
| Mar 5, 2026 | https://github.com/phpstan/phpstan-src/pull/5134#issuecomment-4003954077 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Mar 5, 2026
| https://github.com/phpstan/phpstan-src/pull/5134#pullrequestreview-3895514761 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5134/files |
| tests/PHPStan/Analyser/TypeSpecifierTest.php | https://github.com/phpstan/phpstan-src/pull/5134/files#diff-14bb751e9bda85de73a25c820abacd349fba3f9dba969af72f3304c7ffacf2bd |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| https://github.com/uekann |
| uekann | https://github.com/uekann |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/2d9dbbbfe0c34feb96f9f8c531396290981ddddc..e44e47600e6e423e7ebc06c7172fc4227a84cc46 |
| 2d9dbbb | https://github.com/phpstan/phpstan-src/commit/2d9dbbbfe0c34feb96f9f8c531396290981ddddc |
| e44e476 | https://github.com/phpstan/phpstan-src/commit/e44e47600e6e423e7ebc06c7172fc4227a84cc46 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/2d9dbbbfe0c34feb96f9f8c531396290981ddddc..e44e47600e6e423e7ebc06c7172fc4227a84cc46 |
| March 9, 2026 04:57 | https://github.com/phpstan/phpstan-src/pull/5134#event-23383275757 |
| https://github.com/uekann |
| uekann | https://github.com/uekann |
| March 9, 2026 04:59 | https://github.com/phpstan/phpstan-src/pull/5134#event-23383295903 |
| https://github.com/uekann |
| uekann | https://github.com/uekann |
| March 9, 2026 05:20 | https://github.com/phpstan/phpstan-src/pull/5134#event-23383672992 |
| https://github.com/uekann |
| uekann | https://github.com/uekann |
| staabm | https://github.com/staabm |
| March 9, 2026 05:20 | https://github.com/phpstan/phpstan-src/pull/5134#event-23383675517 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Mar 9, 2026 | https://github.com/phpstan/phpstan-src/pull/5134#issuecomment-4021235627 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Mar 9, 2026
| https://github.com/phpstan/phpstan-src/pull/5134#pullrequestreview-3913131771 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5134/files |
| tests/PHPStan/Analyser/nsrt/array-all.php | https://github.com/phpstan/phpstan-src/pull/5134/files#diff-20e6d10042a053024f0749bd4c289518ccbbc0249e9bf05584c99fc0ae8acb35 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| src/Type/Php/ArrayAllFunctionTypeSpecifyingExtension.php | https://github.com/phpstan/phpstan-src/pull/5134/files#diff-4ab3d50d98a100d6abd8e90f380986abb05607fb7dca436ac15281c2945e1e7c |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| tests/PHPStan/Analyser/nsrt/array-all.php | https://github.com/phpstan/phpstan-src/pull/5134/files#diff-20e6d10042a053024f0749bd4c289518ccbbc0249e9bf05584c99fc0ae8acb35 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| https://github.com/uekann |
| uekann | https://github.com/uekann |
| March 9, 2026 08:38 | https://github.com/phpstan/phpstan-src/pull/5134#event-23387868301 |
| https://github.com/uekann |
| uekann | https://github.com/uekann |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/845b4038fcb20e6a58346c69f91ce4a7bc02ff77..407c372c5ccd6f1578ee168e4a12783cf5e6e448 |
| 845b403 | https://github.com/phpstan/phpstan-src/commit/845b4038fcb20e6a58346c69f91ce4a7bc02ff77 |
| 407c372 | https://github.com/phpstan/phpstan-src/commit/407c372c5ccd6f1578ee168e4a12783cf5e6e448 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/845b4038fcb20e6a58346c69f91ce4a7bc02ff77..407c372c5ccd6f1578ee168e4a12783cf5e6e448 |
| March 11, 2026 01:23 | https://github.com/phpstan/phpstan-src/pull/5134#event-23452444560 |
| https://github.com/uekann |
| uekann | https://github.com/uekann |
| Mar 11, 2026 | https://github.com/phpstan/phpstan-src/pull/5134#issuecomment-4035753709 |
| @staabm | https://github.com/staabm |
| phpstan/phpstan#14249 | https://github.com/phpstan/phpstan/issues/14249 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| https://github.com/uekann |
| uekann | https://github.com/uekann |
| March 11, 2026 02:25 | https://github.com/phpstan/phpstan-src/pull/5134#event-23453515127 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Mar 11, 2026 | https://github.com/phpstan/phpstan-src/pull/5134#issuecomment-4035754858 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| https://github.com/uekann |
| uekann | https://github.com/uekann |
| staabm | https://github.com/staabm |
| March 12, 2026 14:27 | https://github.com/phpstan/phpstan-src/pull/5134#event-23510262631 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Mar 12, 2026
| https://github.com/phpstan/phpstan-src/pull/5134#pullrequestreview-3927158921 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5134/files |
| src/Type/Php/ArrayAllFunctionTypeSpecifyingExtension.php | https://github.com/phpstan/phpstan-src/pull/5134/files#diff-4ab3d50d98a100d6abd8e90f380986abb05607fb7dca436ac15281c2945e1e7c |
| staabm | https://github.com/staabm |
| Mar 11, 2026 | https://github.com/phpstan/phpstan-src/pull/5134#discussion_r2916105398 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| uekann | https://github.com/uekann |
| Mar 12, 2026 | https://github.com/phpstan/phpstan-src/pull/5134#discussion_r2925756554 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| tests/PHPStan/Analyser/nsrt/array-all.php | https://github.com/phpstan/phpstan-src/pull/5134/files#diff-20e6d10042a053024f0749bd4c289518ccbbc0249e9bf05584c99fc0ae8acb35 |
| staabm | https://github.com/staabm |
| Mar 11, 2026 | https://github.com/phpstan/phpstan-src/pull/5134#discussion_r2916144659 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| uekann | https://github.com/uekann |
| Mar 12, 2026 | https://github.com/phpstan/phpstan-src/pull/5134#discussion_r2925350465 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| staabm | https://github.com/staabm |
| Mar 12, 2026 | https://github.com/phpstan/phpstan-src/pull/5134#discussion_r2925407487 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| src/Type/Php/ArrayAllFunctionTypeSpecifyingExtension.php | https://github.com/phpstan/phpstan-src/pull/5134/files#diff-4ab3d50d98a100d6abd8e90f380986abb05607fb7dca436ac15281c2945e1e7c |
| staabm | https://github.com/staabm |
| Mar 12, 2026 | https://github.com/phpstan/phpstan-src/pull/5134#discussion_r2925069919 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| uekann | https://github.com/uekann |
| Mar 12, 2026 | https://github.com/phpstan/phpstan-src/pull/5134#discussion_r2925648042 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| phpstan/phpstan#14249 | https://github.com/phpstan/phpstan/issues/14249 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| https://github.com/zonuexe |
| zonuexe | https://github.com/zonuexe |
| Apr 2, 2026 | https://github.com/phpstan/phpstan-src/pull/5134#issuecomment-4175202939 |
| @ondrejmirtes | https://github.com/ondrejmirtes |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/85be1cc060fa8a88696aeeae851b21e696a4e82a..14e0f3dd7aaac6500a1d0e435b86e5cc912b0983 |
| 85be1cc | https://github.com/phpstan/phpstan-src/commit/85be1cc060fa8a88696aeeae851b21e696a4e82a |
| 14e0f3d | https://github.com/phpstan/phpstan-src/commit/14e0f3dd7aaac6500a1d0e435b86e5cc912b0983 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/85be1cc060fa8a88696aeeae851b21e696a4e82a..14e0f3dd7aaac6500a1d0e435b86e5cc912b0983 |
| April 8, 2026 17:58 | https://github.com/phpstan/phpstan-src/pull/5134#event-24305943225 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| VincentLanglet | https://github.com/VincentLanglet |
| April 8, 2026 17:58 | https://github.com/phpstan/phpstan-src/pull/5134#event-24305944430 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Apr 8, 2026
| https://github.com/phpstan/phpstan-src/pull/5134#pullrequestreview-4077306615 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5134/files |
| src/Type/Php/ArrayAllFunctionTypeSpecifyingExtension.php | https://github.com/phpstan/phpstan-src/pull/5134/files#diff-4ab3d50d98a100d6abd8e90f380986abb05607fb7dca436ac15281c2945e1e7c |
| VincentLanglet | https://github.com/VincentLanglet |
| Apr 8, 2026 | https://github.com/phpstan/phpstan-src/pull/5134#discussion_r3053338299 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @staabm | https://github.com/staabm |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
| https://github.com/zonuexe |
| zonuexe | https://github.com/zonuexe |
|
Jul 13, 2026
| https://github.com/phpstan/phpstan-src/pull/5134#ref-pullrequest-4875590866 |
|
Narrow array_all()/array_any() through the array_filter() machinery
#6046
| https://github.com/phpstan/phpstan-src/pull/6046 |
| zonuexe | https://github.com/zonuexe |
|
Aug 9, 2026
| https://github.com/phpstan/phpstan-src/pull/5134#ref-commit-5cdd991 |
|
| https://github.com/uekann |
|
| https://github.com/zonuexe |
| Specify array element types from array_all() callback | https://github.com/zonuexe/phpstan-src/commit/5cdd99142ca77c58a5f522229b50826573a77352 |
| 5cdd991 | https://github.com/zonuexe/phpstan-src/commit/5cdd99142ca77c58a5f522229b50826573a77352 |
| phpstan/phpstan#12939 | https://github.com/phpstan/phpstan/issues/12939 |
| phpstan#5134 | https://github.com/phpstan/phpstan-src/pull/5134 |
| zonuexe | https://github.com/zonuexe |
|
Sep 14, 2026
| https://github.com/phpstan/phpstan-src/pull/5134#ref-commit-b6327fa |
|
| https://github.com/uekann |
|
| https://github.com/zonuexe |
| Specify array element types from array_all() callback | https://github.com/zonuexe/phpstan-src/commit/b6327fad86563cd1f8d8006a00c32e2fa897cf4e |
| b6327fa | https://github.com/zonuexe/phpstan-src/commit/b6327fad86563cd1f8d8006a00c32e2fa897cf4e |
| phpstan/phpstan#12939 | https://github.com/phpstan/phpstan/issues/12939 |
| phpstan#5134 | https://github.com/phpstan/phpstan-src/pull/5134 |
| zonuexe | https://github.com/zonuexe |
|
Sep 27, 2026
| https://github.com/phpstan/phpstan-src/pull/5134#ref-commit-1eb590e |
|
| https://github.com/uekann |
|
| https://github.com/zonuexe |
| Specify array element types from array_all() callback | https://github.com/zonuexe/phpstan-src/commit/1eb590eb139145c91cb5f342dd2bd2f11aeb145b |
| 1eb590e | https://github.com/zonuexe/phpstan-src/commit/1eb590eb139145c91cb5f342dd2bd2f11aeb145b |
| phpstan/phpstan#12939 | https://github.com/phpstan/phpstan/issues/12939 |
| phpstan#5134 | https://github.com/phpstan/phpstan-src/pull/5134 |
| zonuexe | https://github.com/zonuexe |
|
Oct 5, 2026
| https://github.com/phpstan/phpstan-src/pull/5134#ref-commit-6863bbb |
|
| https://github.com/uekann |
|
| https://github.com/zonuexe |
| Specify array element types from array_all() callback | https://github.com/zonuexe/phpstan-src/commit/6863bbb01b337d2f76d70b9d98302e577a7e73af |
| 6863bbb | https://github.com/zonuexe/phpstan-src/commit/6863bbb01b337d2f76d70b9d98302e577a7e73af |
| phpstan/phpstan#12939 | https://github.com/phpstan/phpstan/issues/12939 |
| phpstan#5134 | https://github.com/phpstan/phpstan-src/pull/5134 |
| zonuexe | https://github.com/zonuexe |
|
Oct 11, 2026
| https://github.com/phpstan/phpstan-src/pull/5134#ref-commit-8eefb20 |
|
| https://github.com/uekann |
|
| https://github.com/zonuexe |
| Specify array element types from array_all() callback | https://github.com/zonuexe/phpstan-src/commit/8eefb20bf7d79de223ee10b7180ca58f1942e889 |
| 8eefb20 | https://github.com/zonuexe/phpstan-src/commit/8eefb20bf7d79de223ee10b7180ca58f1942e889 |
| phpstan/phpstan#12939 | https://github.com/phpstan/phpstan/issues/12939 |
| phpstan#5134 | https://github.com/phpstan/phpstan-src/pull/5134 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| November 1, 2026 11:54 | https://github.com/phpstan/phpstan-src/pull/5134#event-34829284416 |
| November 1, 2026 12:03 | https://github.com/phpstan/phpstan-src/pull/5134#commits-pushed-b592ef9 |
|
| https://github.com/ondrejmirtes |
| Add simple implementation and test cases | https://github.com/phpstan/phpstan-src/pull/5134/commits/b592ef98cb4c462281926da9c6dbd917d57ffdae |
| b592ef9 | https://github.com/phpstan/phpstan-src/pull/5134/commits/b592ef98cb4c462281926da9c6dbd917d57ffdae |
|
| https://github.com/ondrejmirtes |
| Implement of type specifacation for array's key | https://github.com/phpstan/phpstan-src/pull/5134/commits/f2f85ad6bf62fec8a5b237f22ae76a6459144c26 |
| f2f85ad | https://github.com/phpstan/phpstan-src/pull/5134/commits/f2f85ad6bf62fec8a5b237f22ae76a6459144c26 |
|
| https://github.com/ondrejmirtes |
| Support for arrow functions containing arbitrary expr | https://github.com/phpstan/phpstan-src/pull/5134/commits/3d4af01077b0a569b7cdd7a7f823dc077ca0702d |
| 3d4af01 | https://github.com/phpstan/phpstan-src/pull/5134/commits/3d4af01077b0a569b7cdd7a7f823dc077ca0702d |
| November 1, 2026 12:03 | https://github.com/phpstan/phpstan-src/pull/5134#commits-pushed-d3235b7 |
|
| https://github.com/ondrejmirtes |
| Refactor | https://github.com/phpstan/phpstan-src/pull/5134/commits/d3235b73a9ea9017409664278d642e2cf0173b0e |
| d3235b7 | https://github.com/phpstan/phpstan-src/pull/5134/commits/d3235b73a9ea9017409664278d642e2cf0173b0e |
|
| https://github.com/ondrejmirtes |
| Add nsrt for array all function | https://github.com/phpstan/phpstan-src/pull/5134/commits/1d2e2566244dcdaf9f55f5dbcc30f15723a59866 |
| 1d2e256 | https://github.com/phpstan/phpstan-src/pull/5134/commits/1d2e2566244dcdaf9f55f5dbcc30f15723a59866 |
|
| https://github.com/ondrejmirtes |
| Fix condition | https://github.com/phpstan/phpstan-src/pull/5134/commits/083a50c554d870598826ed1d3c263f6bd7e752ec |
| 083a50c | https://github.com/phpstan/phpstan-src/pull/5134/commits/083a50c554d870598826ed1d3c263f6bd7e752ec |
|
| https://github.com/ondrejmirtes |
| Remove unnecessary tests | https://github.com/phpstan/phpstan-src/pull/5134/commits/dc6ce968db9a7ef1826b57d594a245d4de5ac76c |
| dc6ce96 | https://github.com/phpstan/phpstan-src/pull/5134/commits/dc6ce968db9a7ef1826b57d594a245d4de5ac76c |
|
| https://github.com/ondrejmirtes |
| Refactor | https://github.com/phpstan/phpstan-src/pull/5134/commits/45fe80608e0aff26791dafa2a1286eeb2b2bf04c |
| 45fe806 | https://github.com/phpstan/phpstan-src/pull/5134/commits/45fe80608e0aff26791dafa2a1286eeb2b2bf04c |
|
| https://github.com/ondrejmirtes |
| Add new test case for array_all | https://github.com/phpstan/phpstan-src/pull/5134/commits/532455dfd1f3e0ed22e458c79cc5521015947a1d |
| 532455d | https://github.com/phpstan/phpstan-src/pull/5134/commits/532455dfd1f3e0ed22e458c79cc5521015947a1d |
|
| https://github.com/ondrejmirtes |
| Fix cs error | https://github.com/phpstan/phpstan-src/pull/5134/commits/5b15f337f76eb4f5be554925fcae8eb116f8139f |
| 5b15f33 | https://github.com/phpstan/phpstan-src/pull/5134/commits/5b15f337f76eb4f5be554925fcae8eb116f8139f |
|
| https://github.com/ondrejmirtes |
| Add test case for Closure, list and non-empty-array | https://github.com/phpstan/phpstan-src/pull/5134/commits/e9272358f4fce20cff7d3ba25a18171928cdcb64 |
| e927235 | https://github.com/phpstan/phpstan-src/pull/5134/commits/e9272358f4fce20cff7d3ba25a18171928cdcb64 |
|
| https://github.com/ondrejmirtes |
| Support for closures containing only return statements | https://github.com/phpstan/phpstan-src/pull/5134/commits/ad4e2d61e675035a5ec5702e610038a3eec34c57 |
| ad4e2d6 | https://github.com/phpstan/phpstan-src/pull/5134/commits/ad4e2d61e675035a5ec5702e610038a3eec34c57 |
|
| https://github.com/ondrejmirtes |
| Fix phpstan error | https://github.com/phpstan/phpstan-src/pull/5134/commits/8329120f50113106f1ca11575d7937fdc826e8ac |
| 8329120 | https://github.com/phpstan/phpstan-src/pull/5134/commits/8329120f50113106f1ca11575d7937fdc826e8ac |
|
| https://github.com/ondrejmirtes |
| Fix cs error | https://github.com/phpstan/phpstan-src/pull/5134/commits/aef7226d87ad56894b5df8bc8ca4b2b27426a6f5 |
| aef7226 | https://github.com/phpstan/phpstan-src/pull/5134/commits/aef7226d87ad56894b5df8bc8ca4b2b27426a6f5 |
|
| https://github.com/ondrejmirtes |
| Add a test case for a closure whose return expression is null | https://github.com/phpstan/phpstan-src/pull/5134/commits/ec841a07666c978e9ba4587a9d9d57689919b279 |
| ec841a0 | https://github.com/phpstan/phpstan-src/pull/5134/commits/ec841a07666c978e9ba4587a9d9d57689919b279 |
|
| https://github.com/ondrejmirtes |
| Refactor | https://github.com/phpstan/phpstan-src/pull/5134/commits/535441791c9790b4956ff0300fb78ff38511f1e9 |
| 5354417 | https://github.com/phpstan/phpstan-src/pull/5134/commits/535441791c9790b4956ff0300fb78ff38511f1e9 |
|
| https://github.com/uekann |
|
| https://github.com/ondrejmirtes |
| Add a test case where the context is truthy | https://github.com/phpstan/phpstan-src/pull/5134/commits/478eb9342360d97e52f89dbb49247220844d91bf |
| 478eb93 | https://github.com/phpstan/phpstan-src/pull/5134/commits/478eb9342360d97e52f89dbb49247220844d91bf |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/14e0f3dd7aaac6500a1d0e435b86e5cc912b0983..478eb9342360d97e52f89dbb49247220844d91bf |
| 14e0f3d | https://github.com/phpstan/phpstan-src/commit/14e0f3dd7aaac6500a1d0e435b86e5cc912b0983 |
| 478eb93 | https://github.com/phpstan/phpstan-src/commit/478eb9342360d97e52f89dbb49247220844d91bf |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/14e0f3dd7aaac6500a1d0e435b86e5cc912b0983..478eb9342360d97e52f89dbb49247220844d91bf |
| November 1, 2026 12:04 | https://github.com/phpstan/phpstan-src/pull/5134#event-34829664470 |
| zonuexe | https://github.com/zonuexe |
|
Nov 2, 2026
| https://github.com/phpstan/phpstan-src/pull/5134#ref-commit-450c98f |
|
| https://github.com/uekann |
|
| https://github.com/zonuexe |
| Specify array element types from array_all() callback | https://github.com/zonuexe/phpstan-src/commit/450c98f19b76f684b9b7e28ee8123c727bdd56a9 |
| 450c98f | https://github.com/zonuexe/phpstan-src/commit/450c98f19b76f684b9b7e28ee8123c727bdd56a9 |
| phpstan/phpstan#12939 | https://github.com/phpstan/phpstan/issues/12939 |
| phpstan#5134 | https://github.com/phpstan/phpstan-src/pull/5134 |
| https://github.co/hiddenchars |
| https://github.com/phpstan/phpstan-src/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%2Fphpstan%2Fphpstan-src%2Fpull%2F5134 |
|
| https://github.com/staabm |
|
staabm
| https://github.com/staabm |
|
| https://github.com/phpstan/phpstan-src/pull/5134/files/6fceb73581592dc1c837f6ba5b6002d9fdc55d98 |
|
| https://github.com/VincentLanglet |
|
VincentLanglet
| https://github.com/VincentLanglet |
|
| https://github.com/phpstan/phpstan-src/pull/5134/files/14e0f3dd7aaac6500a1d0e435b86e5cc912b0983 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
|
Narrowing array type with array_all()
| https://github.com/phpstan/phpstan/issues/12939 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5134 |
|
| https://github.com/uekann |
|
| https://github.com/phpstan-bot |
|
| https://github.com/zonuexe |
|
| https://github.com/staabm |
|
| https://github.com/VincentLanglet |
|
| 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 |