{"id":23506983,"url":"https://github.com/beechit/json-to-code-climate-subset-converter","last_synced_at":"2026-03-11T08:02:41.538Z","repository":{"id":44746787,"uuid":"225845777","full_name":"beechit/json-to-code-climate-subset-converter","owner":"beechit","description":"CLI tool that'll convert supported JSON files to a subset of the Code Climate JSON format","archived":false,"fork":false,"pushed_at":"2022-01-27T09:18:31.000Z","size":156,"stargazers_count":19,"open_issues_count":7,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-13T07:52:20.704Z","etag":null,"topics":["cli-command","docker","gitlab","json","json-format","phan","phpcs","phplint","phpstan","psalm"],"latest_commit_sha":null,"homepage":"","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/beechit.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}},"created_at":"2019-12-04T10:59:26.000Z","updated_at":"2023-02-20T16:09:33.000Z","dependencies_parsed_at":"2022-09-25T11:53:44.325Z","dependency_job_id":null,"html_url":"https://github.com/beechit/json-to-code-climate-subset-converter","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/beechit/json-to-code-climate-subset-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beechit%2Fjson-to-code-climate-subset-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beechit%2Fjson-to-code-climate-subset-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beechit%2Fjson-to-code-climate-subset-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beechit%2Fjson-to-code-climate-subset-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beechit","download_url":"https://codeload.github.com/beechit/json-to-code-climate-subset-converter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beechit%2Fjson-to-code-climate-subset-converter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30375483,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T06:09:32.197Z","status":"ssl_error","status_checked_at":"2026-03-11T06:09:17.086Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli-command","docker","gitlab","json","json-format","phan","phpcs","phplint","phpstan","psalm"],"created_at":"2024-12-25T10:13:47.068Z","updated_at":"2026-03-11T08:02:41.505Z","avatar_url":"https://github.com/beechit.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"![GitHub Workflow Status](https://img.shields.io/github/workflow/status/beechit/json-to-code-climate-subset-converter/Run%20PHPUnit%20tests?label=PHPUnit) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/beechit/json-to-code-climate-subset-converter/Run%20Infection?label=Infection) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/beechit/json-to-code-climate-subset-converter/Run%20PHPStan?label=PHPStan) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/beechit/json-to-code-climate-subset-converter/Run%20Psalm?label=Psalm) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/beechit/json-to-code-climate-subset-converter/Run%20PHP_CodeSniffer?label=PHP_CodeSniffer) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/beechit/json-to-code-climate-subset-converter/Run%20Phan?label=Phan) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/beechit/json-to-code-climate-subset-converter/Run%20PHPLint?label=PHPLint)\n\n# json-to-code-climate-subset-converter\nCLI tool that'll convert supported JSON files to a subset of the Code Climate JSON format. The output file `code-climate.json` can be used in GitLab CI to show degrations in merge requests via the report artifact. See [GitLab Code Quality documentation](https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html#implementing-a-custom-tool) for more information.\n\n## Supported JSON files\n\n- [x] [phpstan](https://github.com/phpstan/phpstan)\n- [x] [psalm](https://github.com/vimeo/psalm)\n- [x] [phan](https://github.com/phan/phan)\n- [x] [phpcs](https://github.com/squizlabs/PHP_CodeSniffer)\n- [ ] [phpmd](https://github.com/phpmd/phpmd)\n- [x] [phplint](https://github.com/overtrue/phplint)\n- [x] [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer)\n\n## Example input\n\n```json\n[\n    {\n        \"type\": \"issue\",\n        \"type_id\": 11007,\n        \"check_name\": \"PhanUndeclaredClassConstant\",\n        \"description\": \"UndefError PhanUndeclaredClassConstant Reference to constant class from undeclared class \\\\PhpParser\\\\Node\\\\Stmt\\\\ClassMethod\",\n        \"severity\": 10,\n        \"location\": {\n            \"path\": \"app/Class.php\",\n            \"lines\": {\n                \"begin\": 32,\n                \"end\": 34\n            }\n        }\n    }\n]\n```\n\n## Example output\n\n```json\n[\n    {\n        \"description\": \"(Phan) UndefError PhanUndeclaredClassConstant Reference to constant class from undeclared class \\\\PhpParser\\\\Node\\\\Stmt\\\\ClassMethod\",\n        \"fingerprint\": \"fd46675f22771e90045b745429e46682\",\n        \"location\": {\n            \"path\": \"app/Class.php\",\n            \"lines\": {\n                \"begin\": 32,\n                \"end\": 34\n            }\n        }\n    }\n]\n```\n\n## Documentation\n\nPlease refer to the project's WIKI entries for documentation: [WIKI](https://github.com/beechit/json-to-code-climate-subset-converter/wiki)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeechit%2Fjson-to-code-climate-subset-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeechit%2Fjson-to-code-climate-subset-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeechit%2Fjson-to-code-climate-subset-converter/lists"}