| 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:126026b9-7d12-9244-c546-9313da91f1d7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8984:170033:24227A:32A1D1:6B00690E |
| html-safe-nonce | 940ef9d955fc2d4b2e8519d4475c788706a27f697ef8893f1fc90f3c8ed65151 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTg0OjE3MDAzMzoyNDIyN0E6MzJBMUQxOjZCMDA2OTBFIiwidmlzaXRvcl9pZCI6IjM3NTQ0ODU0NDM1ODA2ODQ1NTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 24ea53be9cd4cac74aeb21ed01514461a96632271550d660a0eba1ebe7dc06a5 |
| hovercard-subject-tag | pull_request:5367450970 |
| 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/7102/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/a2d5dcb5aacc1e8734a5dfb3b74fe49ca1eb0fb86acb12aff5d01ed549f1309d/phpstan/phpstan-src/pull/7102 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a2d5dcb5aacc1e8734a5dfb3b74fe49ca1eb0fb86acb12aff5d01ed549f1309d/phpstan/phpstan-src/pull/7102 |
| og:image:alt | Summary
PHPStan typed (float) $int and (float) $decimalIntString as plain float, so they could not be returned as finite-float. An int always converts to a finite float, and so does a decimal-int-s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | phpstan-bot |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa |
| 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 | 46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd |
| 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/7102#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F7102 |
| 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%2F7102 |
| 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/7102 |
| Reload | https://github.com/phpstan/phpstan-src/pull/7102 |
| Reload | https://github.com/phpstan/phpstan-src/pull/7102 |
| phpstan | https://github.com/phpstan |
| phpstan-src | https://github.com/phpstan/phpstan-src |
| Code | https://github.com/phpstan/phpstan-src |
| Pull requests185 (185) | 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 |
| phpstan-bot | https://github.com/phpstan-bot |
| phpstan:2.3.x | https://github.com/phpstan/phpstan-src/tree/2.3.x |
| phpstan-bot:create-pull-request/patch-2rexbio | https://github.com/phpstan-bot/phpstan-src/tree/create-pull-request/patch-2rexbio |
| Conversation | https://github.com/phpstan/phpstan-src/pull/7102 |
| Commits2 (2) | https://github.com/phpstan/phpstan-src/pull/7102/commits |
| Checks | https://github.com/phpstan/phpstan-src/pull/7102/checks |
| Files changed | https://github.com/phpstan/phpstan-src/pull/7102/files |
| Convert int and decimal-int-string to a finite float range in toFloat() and float arithmetic | https://github.com/phpstan/phpstan-src/pull/7102#top |
| phpstan-bot | https://github.com/phpstan-bot |
| phpstan:2.3.x | https://github.com/phpstan/phpstan-src/tree/2.3.x |
| phpstan-bot:create-pull-request/patch-2rexbio | https://github.com/phpstan-bot/phpstan-src/tree/create-pull-request/patch-2rexbio |
|
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Nov 18, 2026 | https://github.com/phpstan/phpstan-src/pull/7102#issue-6457023144 |
| phpstan/phpstan#15767 | https://github.com/phpstan/phpstan/issues/15767 |
| Claude Code | https://claude.com/claude-code |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/7102 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
| Convert int and decimal-int-string to a finite float range in `to… | https://github.com/phpstan/phpstan-src/pull/7102/commits/8dc819a8359c3856dc1d88c4f5a77b09ec39cfc9 |
| 8dc819a | https://github.com/phpstan/phpstan-src/pull/7102/commits/8dc819a8359c3856dc1d88c4f5a77b09ec39cfc9 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Nov 18, 2026
| https://github.com/phpstan/phpstan-src/pull/7102#pullrequestreview-5951706800 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/7102/files/8dc819a8359c3856dc1d88c4f5a77b09ec39cfc9 |
| staabm | https://github.com/staabm |
| https://github.com/phpstan/phpstan-src/pull/7102#pullrequestreview-5951706800 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/7102 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
| Test int range, bool and union conversions to finite float | https://github.com/phpstan/phpstan-src/pull/7102/commits/56235b6dc0921d12b477609b0e82c0de1d229ee4 |
| 56235b6 | https://github.com/phpstan/phpstan-src/pull/7102/commits/56235b6dc0921d12b477609b0e82c0de1d229ee4 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Nov 18, 2026 | https://github.com/phpstan/phpstan-src/pull/7102#issuecomment-6971006656 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/7102 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| VincentLanglet | https://github.com/VincentLanglet |
| November 18, 2026 06:59 | https://github.com/phpstan/phpstan-src/pull/7102#event-36496833912 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| Nov 18, 2026 | https://github.com/phpstan/phpstan-src/pull/7102#issuecomment-6971576559 |
| @zonuexe | https://github.com/zonuexe |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/7102 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| Nov 18, 2026 | https://github.com/phpstan/phpstan-src/pull/7102#issuecomment-6975057078 |
| @zonuexe | https://github.com/zonuexe |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/7102 |
| https://github.com/zonuexe |
| zonuexe | https://github.com/zonuexe |
|
Nov 18, 2026
| https://github.com/phpstan/phpstan-src/pull/7102#pullrequestreview-5954333391 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/7102/files/56235b6dc0921d12b477609b0e82c0de1d229ee4 |
| zonuexe | https://github.com/zonuexe |
| https://github.com/phpstan/phpstan-src/pull/7102#pullrequestreview-5954333391 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 56235b6 | https://github.com/phpstan/phpstan-src/commit/56235b6dc0921d12b477609b0e82c0de1d229ee4 |
| #7084 | https://github.com/phpstan/phpstan-src/pull/7084 |
| #7084 | https://github.com/phpstan/phpstan-src/pull/7084 |
| #5176 | https://github.com/phpstan/phpstan-src/pull/5176 |
| #7103 | https://github.com/phpstan/phpstan-src/pull/7103 |
| #7084 | https://github.com/phpstan/phpstan-src/pull/7084 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/7102 |
| 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%2F7102 |
|
| https://github.com/staabm |
|
staabm
| https://github.com/staabm |
|
| https://github.com/phpstan/phpstan-src/pull/7102/files/8dc819a8359c3856dc1d88c4f5a77b09ec39cfc9 |
|
| https://github.com/VincentLanglet |
|
VincentLanglet
| https://github.com/VincentLanglet |
|
| https://github.com/zonuexe |
|
zonuexe
| https://github.com/zonuexe |
|
| https://github.com/phpstan/phpstan-src/pull/7102/files/56235b6dc0921d12b477609b0e82c0de1d229ee4 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/7102 |
|
Casting an int (or a decimal-int-string) as float yields a finite-float
| https://github.com/phpstan/phpstan/issues/15767 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/7102 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/staabm |
|
| https://github.com/VincentLanglet |
|
| https://github.com/zonuexe |
|
| 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 |