{"id":32363467,"url":"https://github.com/staabm/phpstorm-bug-unreachable-statement","last_synced_at":"2026-07-12T12:32:16.547Z","repository":{"id":301386663,"uuid":"1009093076","full_name":"staabm/phpstorm-bug-unreachable-statement","owner":"staabm","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-26T15:23:33.000Z","size":204,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-24T16:58:52.033Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/staabm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["staabm"]}},"created_at":"2025-06-26T15:05:42.000Z","updated_at":"2025-06-26T15:23:37.000Z","dependencies_parsed_at":"2025-06-26T16:43:36.049Z","dependency_job_id":null,"html_url":"https://github.com/staabm/phpstorm-bug-unreachable-statement","commit_stats":null,"previous_names":["staabm/phpstorm-bug-unreachable-statement"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/staabm/phpstorm-bug-unreachable-statement","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Fphpstorm-bug-unreachable-statement","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Fphpstorm-bug-unreachable-statement/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Fphpstorm-bug-unreachable-statement/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Fphpstorm-bug-unreachable-statement/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/staabm","download_url":"https://codeload.github.com/staabm/phpstorm-bug-unreachable-statement/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Fphpstorm-bug-unreachable-statement/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35392296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-12T02:00:06.386Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-24T16:58:39.558Z","updated_at":"2026-07-12T12:32:16.542Z","avatar_url":"https://github.com/staabm.png","language":"PHP","funding_links":["https://github.com/sponsors/staabm"],"categories":[],"sub_categories":[],"readme":"[JetBrains PHPStorm bugreport](https://youtrack.jetbrains.com/issue/WI-81787/Unreachable-statement-false-positive)\n\nPHPStorm reports \"unreachable code\" for a interface type, when the project does only contain a single implementation of the interface.\n\nsee `src/Foo.php`.\n\n\u003cimg width=\"490\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/1ddd9916-fabe-45fa-b365-a7373bc6510c\" /\u003e\n\nthe interface type could be implemented by other classes though, see e.g. `vendor/nikic/php-parser/lib/PhpParser` which contains 3 more implementations of the `Node` interface.\n=\u003e PHPStorm cannot be sure which class will implement the interface and therefore should not report \"unreachable code\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaabm%2Fphpstorm-bug-unreachable-statement","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstaabm%2Fphpstorm-bug-unreachable-statement","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaabm%2Fphpstorm-bug-unreachable-statement/lists"}