{"id":19882191,"url":"https://github.com/codeclimate/codeclimate-sonar-c","last_synced_at":"2025-03-01T03:22:05.665Z","repository":{"id":66245006,"uuid":"109432787","full_name":"codeclimate/codeclimate-sonar-c","owner":"codeclimate","description":null,"archived":false,"fork":false,"pushed_at":"2018-03-22T19:53:01.000Z","size":5918,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T18:18:44.820Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeclimate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-11-03T19:02:48.000Z","updated_at":"2019-05-30T21:02:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"007677ef-3d6f-4433-88ee-c777a5798fa1","html_url":"https://github.com/codeclimate/codeclimate-sonar-c","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeclimate%2Fcodeclimate-sonar-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeclimate%2Fcodeclimate-sonar-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeclimate%2Fcodeclimate-sonar-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeclimate%2Fcodeclimate-sonar-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeclimate","download_url":"https://codeload.github.com/codeclimate/codeclimate-sonar-c/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241310542,"owners_count":19941974,"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","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-11-12T17:16:39.109Z","updated_at":"2025-03-01T03:22:05.660Z","avatar_url":"https://github.com/codeclimate.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Climate Sonar-PHP Engine\n\n[![CircleCI](https://circleci.com/gh/codeclimate/codeclimate-sonar-php.svg?style=svg\u0026circle-token=72a9e9a49dc6a8653be6a69321012fe1d84abc3d)](https://circleci.com/gh/codeclimate/codeclimate-sonar-php)\n[![Maintainability](https://api.codeclimate.com/v1/badges/2bdcb2e92bbc0efb855b/maintainability)](https://codeclimate.com/github/codeclimate/codeclimate-sonar-php/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/2bdcb2e92bbc0efb855b/test_coverage)](https://codeclimate.com/github/codeclimate/codeclimate-sonar-php/test_coverage)\n\n`codeclimate-sonar-php` is a Code Climate engine that wraps [Sonarlint](http://www.sonarlint.org) in standalone mode.\n\n## Installation\n```\nmake image\n```\n\n## Tests\n```\nmake test\n```\n\n## Usage\n\n1. If you haven't already, [install the Code Climate CLI](https://github.com/codeclimate/codeclimate).\n2. Configure a `.codeclimate.yml` file in your repo.\n```yml\nengines:\n  sonar-php:\n    enabled: true\n    config:\n      tests_patterns:\n        - src/test/**\nexclude_paths:\n  - build/\n```\n3. Run `codeclimate analyze`.\n\n## Custom configurations\n\n### Severity\nIgnore issues with severity below the minimum:\n```\nengines:\n  sonar-php:\n    enabled: true\n    config:\n      minimum_severity: critical  # default: major\n                                  # valid values are: info, minor, major, critical, blocker\n```\n\n## Sonar Documentation\n\nhttp://www.sonarlint.org/commandline\n\nhttp://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner\n\nIssue Tracker: http://jira.sonarsource.com/browse/SLCLI\n\n## Copyright\n\nThis engine is developed by Code Climate using [SonarLint](http://www.sonarlint.org/commandline), it is not endorsed by SonarSoruce.\n\nSee [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeclimate%2Fcodeclimate-sonar-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeclimate%2Fcodeclimate-sonar-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeclimate%2Fcodeclimate-sonar-c/lists"}