{"id":20356496,"url":"https://github.com/pressmodo/phpcs-config","last_synced_at":"2025-10-07T10:52:13.030Z","repository":{"id":57044444,"uuid":"172538217","full_name":"Pressmodo/phpcs-config","owner":"Pressmodo","description":"Pressmodo custom PHPCS rules for WordPress projects.","archived":false,"fork":false,"pushed_at":"2019-03-23T17:50:57.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T03:35:01.722Z","etag":null,"topics":["phpcs","phpcs-config","phpcs-standard","pressmodo","wordpress"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pressmodo.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}},"created_at":"2019-02-25T16:04:54.000Z","updated_at":"2019-03-23T17:50:58.000Z","dependencies_parsed_at":"2022-08-24T04:11:22.020Z","dependency_job_id":null,"html_url":"https://github.com/Pressmodo/phpcs-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Pressmodo/phpcs-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pressmodo%2Fphpcs-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pressmodo%2Fphpcs-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pressmodo%2Fphpcs-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pressmodo%2Fphpcs-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pressmodo","download_url":"https://codeload.github.com/Pressmodo/phpcs-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pressmodo%2Fphpcs-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278762921,"owners_count":26041444,"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-07T02:00:06.786Z","response_time":59,"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":["phpcs","phpcs-config","phpcs-standard","pressmodo","wordpress"],"created_at":"2024-11-14T23:16:48.821Z","updated_at":"2025-10-07T10:52:13.008Z","avatar_url":"https://github.com/Pressmodo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pressmodo PHPCS Configuration\nComposer library to provide drop in installation and configuration of [WPCS](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards) and [PHPCompatibilityWP](https://github.com/PHPCompatibility/PHPCompatibilityWP), setting reasonable defaults for WordPress development with nearly zero configuration.\n\n## Installation\n\nInstall the library via Composer:\n\n```bash\n$ composer require --dev pressmodo/phpcs-config:dev-master\n```\n\nThat's it!\n\n## Usage\n\nLint your PHP files with the following command:\n\n```bash\n$ ./vendor/bin/phpcs .\n```\n\nIf relying on Composer, edited the `composer.json` file by adding the following:\n\n```json\n\"scripts\": {\n\t\"lint\": \"phpcs .\",\n\t\"lint-fix\": \"phpcbf .\"\n}\n```\n\nThen lint via:\n\n```bash\n$ composer run lint\n```\n\n### IDE Integration\n\nSome IDE integrations of PHPCS fail to register the `Pressmodo-Default` ruleset. In order to rectify this, place `.phpcs.xml.dist` at your project root:\n\n```xml\n\u003c?xml version=\"1.0\"?\u003e\n\u003cruleset name=\"Project Rules\"\u003e\n  \u003crule ref=\"Pressmodo-Default\" /\u003e\n\u003c/ruleset\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpressmodo%2Fphpcs-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpressmodo%2Fphpcs-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpressmodo%2Fphpcs-config/lists"}