{"id":22178092,"url":"https://github.com/lordsimal/php8.4-mimetype-bug","last_synced_at":"2025-10-13T15:07:02.902Z","repository":{"id":265816443,"uuid":"859457547","full_name":"LordSimal/php8.4-mimetype-bug","owner":"LordSimal","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-18T17:44:11.000Z","size":724,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-12T07:47:58.525Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"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/LordSimal.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}},"created_at":"2024-09-18T17:35:47.000Z","updated_at":"2024-09-18T17:44:15.000Z","dependencies_parsed_at":"2024-12-02T00:30:25.370Z","dependency_job_id":null,"html_url":"https://github.com/LordSimal/php8.4-mimetype-bug","commit_stats":null,"previous_names":["lordsimal/php8.4-mimetype-bug"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LordSimal/php8.4-mimetype-bug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LordSimal%2Fphp8.4-mimetype-bug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LordSimal%2Fphp8.4-mimetype-bug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LordSimal%2Fphp8.4-mimetype-bug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LordSimal%2Fphp8.4-mimetype-bug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LordSimal","download_url":"https://codeload.github.com/LordSimal/php8.4-mimetype-bug/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LordSimal%2Fphp8.4-mimetype-bug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015902,"owners_count":26085777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"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":"2024-12-02T08:39:57.080Z","updated_at":"2025-10-13T15:07:02.864Z","avatar_url":"https://github.com/LordSimal.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP 8.4 Mimetype Bug\n\nThis repository should demonstrate a bug in current PHP 8.4 Beta 5 related to mime_type detection.\n\nIn this particular case the method `mime_content_type` returns `application/javascript` instead of `text/x-php`.\n\nTo test this with Docker run the following commands:\n\n```bash\ndocker compose up\n```\n\nIn a separate terminal\n\n```bash\ndocker exec -ti cakephp_app /bin/bash\nphp composer.phar install\nphp vendor/bin/phpunit tests/SimpleTest.php\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flordsimal%2Fphp8.4-mimetype-bug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flordsimal%2Fphp8.4-mimetype-bug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flordsimal%2Fphp8.4-mimetype-bug/lists"}