{"id":13883446,"url":"https://github.com/codacy/codacy-phpmd","last_synced_at":"2026-03-08T01:34:01.987Z","repository":{"id":4869565,"uuid":"39376038","full_name":"codacy/codacy-phpmd","owner":"codacy","description":"PHP Mess Detector Tool for Codacy","archived":false,"fork":false,"pushed_at":"2024-07-29T14:58:45.000Z","size":1408,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":14,"default_branch":"master","last_synced_at":"2026-02-07T21:48:29.735Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codacy.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-20T09:50:28.000Z","updated_at":"2024-08-02T14:24:49.000Z","dependencies_parsed_at":"2023-12-12T14:29:13.826Z","dependency_job_id":"d2574364-abe0-4137-87b9-4c8afc19485a","html_url":"https://github.com/codacy/codacy-phpmd","commit_stats":null,"previous_names":[],"tags_count":95,"template":false,"template_full_name":null,"purl":"pkg:github/codacy/codacy-phpmd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-phpmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-phpmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-phpmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-phpmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codacy","download_url":"https://codeload.github.com/codacy/codacy-phpmd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-phpmd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30240899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"ssl_error","status_checked_at":"2026-03-08T00:55:48.608Z","response_time":53,"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":[],"created_at":"2024-08-06T09:01:32.504Z","updated_at":"2026-03-08T01:34:01.922Z","avatar_url":"https://github.com/codacy.png","language":"Scala","funding_links":[],"categories":["Scala"],"sub_categories":[],"readme":"[![Codacy Badge](https://api.codacy.com/project/badge/Grade/dbd3ae4c08d24490832393cb2a9474c4)](https://www.codacy.com/gh/codacy/codacy-phpmd?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=codacy/codacy-phpmd\u0026amp;utm_campaign=Badge_Grade)\n[![Build Status](https://circleci.com/gh/codacy/codacy-phpmd.svg?style=shield\u0026circle-token=:circle-token)](https://circleci.com/gh/codacy/codacy-phpmd)\n\n# Codacy PHPMD\n\nThis is the docker engine we use at Codacy to have [PHPMD](http://phpmd.org/) support.\nYou can also create a docker to integrate the tool and language of your choice!\nSee the [codacy-engine-scala-seed](https://github.com/codacy/codacy-engine-scala-seed) repository for more information.\n\n## Usage\n\nYou can create the docker by doing:\n\n```\ndocker build -t codacy-phpmd-base .\nsbt docker:publishLocal\n```\n\nThe docker is ran with the following command:\n\n```\ndocker run -it -v $srcDir:/src  \u003cDOCKER_NAME\u003e:\u003cDOCKER_VERSION\u003e\n```\n\n## Update Documentation\n\nThe documentation is updated manually by checking the official documentation rules in the [PHPMD repository](https://github.com/phpmd/phpmd).\n\n## Update version\n\n1.  Install composer - (It will create the composer.phar file):\n\n```\ncurl -sS https://getcomposer.org/installer | php \n```\n2.  Update phpmd version on composer.json:\n\n```\n\"require\": {\n        \"phpmd/phpmd\": \"x.xx.x\"\n    }\n```\n\n3.  Run the update command to get the latest versions of the dependencies and to update the composer.lock file:\n\n```\nphp composer.phar update\n```\n\nNote: If you receive a message like this:\n\n```\nCould not fetch \u003cURL package\u003e, please review your configured GitHub OAuth token or enter a new one to access private repos\" Create a new token here: https://github.com/settings/tokens/new?scopes=\u0026description=Composer to retrieve a token.\n```\n\ncreate the token and paste it to proceed.\n\n## Test\n\nWe use the [codacy-plugins-test](https://github.com/codacy/codacy-plugins-test) to test our external tools integration.\nYou can follow the instructions there to make sure your tool is working as expected.\n\n## What is Codacy?\n\n[Codacy](https://www.codacy.com/) is an Automated Code Review Tool that monitors your technical debt, helps you improve your code quality, teaches best practices to your developers, and helps you save time in Code Reviews.\n\n### Among Codacy’s features:\n\n- Identify new Static Analysis issues\n- Commit and Pull Request Analysis with GitHub, BitBucket/Stash, GitLab (and also direct git repositories)\n- Auto-comments on Commits and Pull Requests\n- Integrations with Slack, HipChat, Jira, YouTrack\n- Track issues in Code Style, Security, Error Proneness, Performance, Unused Code and other categories\n\nCodacy also helps keep track of Code Coverage, Code Duplication, and Code Complexity.\n\nCodacy supports PHP, Python, Ruby, Java, JavaScript, and Scala, among others.\n\n### Free for Open Source\n\nCodacy is free for Open Source projects.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodacy%2Fcodacy-phpmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodacy%2Fcodacy-phpmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodacy%2Fcodacy-phpmd/lists"}