Title: never return not detected · Issue #13232 · phpstan/phpstan · GitHub
Open Graph Title: never return not detected · Issue #13232 · phpstan/phpstan
X Title: never return not detected · Issue #13232 · phpstan/phpstan
Description: Bug report I think we are missing detection of dead code at least on line 21 (maybe even on the right side of concat on line 20). Code snippet that reproduces the problem https://phpstan.org/r/5abfb1b4-c997-4848-b984-29266faa6682 Expecte...
Open Graph Description: Bug report I think we are missing detection of dead code at least on line 21 (maybe even on the right side of concat on line 20). Code snippet that reproduces the problem https://phpstan.org/r/5abf...
X Description: Bug report I think we are missing detection of dead code at least on line 21 (maybe even on the right side of concat on line 20). Code snippet that reproduces the problem https://phpstan.org/r/5abf...
Opengraph URL: https://github.com/phpstan/phpstan/issues/13232
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"never return not detected","articleBody":"### Bug report\n\nI think we are missing detection of dead code at least on line 21\n(maybe even on the right side of concat on line 20).\n\n### Code snippet that reproduces the problem\n\nhttps://phpstan.org/r/5abfb1b4-c997-4848-b984-29266faa6682\n\n### Expected output\n\nerror indicating code after a never returning function\n\n### Did PHPStan help you today? Did it make you happy in any way?\n\n_No response_","author":{"url":"https://github.com/staabm","@type":"Person","name":"staabm"},"datePublished":"2025-07-11T09:52:53Z","url":"https://github.com/phpstan/phpstan/issues/13232"}
| 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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:819d4ae9-9075-d940-6b94-e5a130f3dcd9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8734:1C6C3E:B26962:ECC5DA:6B00ED58 |
| html-safe-nonce | 5a3560627a20e5c1a641b3cbbbe43d93970abe8f71385e9eb5158dcda37de920 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzM0OjFDNkMzRTpCMjY5NjI6RUNDNURBOjZCMDBFRDU4IiwidmlzaXRvcl9pZCI6IjM0NzQ1Nzk1Njg3NDcxNDY1ODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f682f8065a2aacadb3d5cff9894a75878201b7b425d3ac7d7b096ff4151ac22d |
| hovercard-subject-tag | issue:3222302480 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/phpstan/phpstan/13232/issue_layout |
| twitter:image | https://opengraph.githubassets.com/07c30a193b427051e6f05ca6a5109bb6cbb5a46aaa49e3332b125f8f69121ef4/phpstan/phpstan/issues/13232 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/07c30a193b427051e6f05ca6a5109bb6cbb5a46aaa49e3332b125f8f69121ef4/phpstan/phpstan/issues/13232 |
| og:image:alt | Bug report I think we are missing detection of dead code at least on line 21 (maybe even on the right side of concat on line 20). Code snippet that reproduces the problem https://phpstan.org/r/5abf... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | staabm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| turbo-cache-control | no-preview |
| go-import | github.com/phpstan/phpstan git https://github.com/phpstan/phpstan.git |
| octolytics-dimension-user_id | 16435710 |
| octolytics-dimension-user_login | phpstan |
| octolytics-dimension-repository_id | 49014795 |
| octolytics-dimension-repository_nwo | phpstan/phpstan |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49014795 |
| octolytics-dimension-repository_network_root_nwo | phpstan/phpstan |
| 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 | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width