{"id":18974782,"url":"https://github.com/bigbite/phpcs-config","last_synced_at":"2025-04-19T16:44:12.215Z","repository":{"id":37275483,"uuid":"424882114","full_name":"bigbite/phpcs-config","owner":"bigbite","description":"Big Bite's PHP Coding Standards.","archived":false,"fork":false,"pushed_at":"2025-04-11T15:08:29.000Z","size":335,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-16T11:05:49.817Z","etag":null,"topics":["coding-conventions","php-codesniffer","ruleset"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/bigbite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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":"2021-11-05T08:48:39.000Z","updated_at":"2025-04-04T10:34:59.000Z","dependencies_parsed_at":"2022-08-20T10:10:46.482Z","dependency_job_id":"238dc708-7e2c-400e-9a73-7af583b69f1c","html_url":"https://github.com/bigbite/phpcs-config","commit_stats":{"total_commits":104,"total_committers":7,"mean_commits":"14.857142857142858","dds":"0.47115384615384615","last_synced_commit":"6ba137bbe52c7a1b24cecd06fe48d1eb6c7526d7"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigbite%2Fphpcs-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigbite%2Fphpcs-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigbite%2Fphpcs-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigbite%2Fphpcs-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigbite","download_url":"https://codeload.github.com/bigbite/phpcs-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249245358,"owners_count":21236859,"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":["coding-conventions","php-codesniffer","ruleset"],"created_at":"2024-11-08T15:16:15.913Z","updated_at":"2025-04-19T16:44:12.198Z","avatar_url":"https://github.com/bigbite.png","language":"PHP","readme":"# BigBite PHPCS Configuration\n\nThis package contains the PHPCS configuration [Big Bite](https://bigbite.net) use for all projects.\nIt is primarily based upon [WPCS](https://github.com/WordPress/WordPress-Coding-Standards) and [VIP WPCS](https://github.com/Automattic/VIP-Coding-Standards), but is more strict, and contains additional Sniffs not included by those standards.\n\n\n## Installation\n\nRun the following command in terminal:\n```bash\ncomposer require --dev bigbite/phpcs-config\n```\n\nThen run:\n```bash\n$ composer update\n```\n\nCreate a `.phpcs.xml.dist` file in your project and add the following, replacing {PROJECT} with your project name:\n\n```xml\n\u003c?xml version=\"1.0\"?\u003e\n\u003cruleset name=\"{PROJECT} Rules\"\u003e\n\t\u003crule ref=\"./vendor/bigbite/phpcs-config/BigBite\" /\u003e\n\u003c/ruleset\u003e\n```\n\nAlternatively, you can install the standard globally:\n```bash\ncomposer global require --dev bigbite/phpcs-config\n```\n\nAnd reference the standard directly within your `.phpcs.xml.dist`:\n```xml\n\u003c?xml version=\"1.0\"?\u003e\n\u003cruleset name=\"{PROJECT} Rules\"\u003e\n\t\u003crule ref=\"BigBite\" /\u003e\n\u003c/ruleset\u003e\n```\n\n## Developing\n\nPlease note that the PHPUnit test suite is not yet compatible with PHP 8.*.\n\nClone this repository, and then run `composer install \u0026\u0026 composer install-cs`.  \nPlease run the following command prior to creating a PR, and ensure that there are no errors:\n- `composer run all-checks`\n\nIf you're feeling especially nice, you can run this command instead:\n- `composer run all-checks-strict`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigbite%2Fphpcs-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigbite%2Fphpcs-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigbite%2Fphpcs-config/lists"}