{"id":19219234,"url":"https://github.com/chassis/phpcs","last_synced_at":"2025-05-13T00:32:10.772Z","repository":{"id":68352401,"uuid":"76006343","full_name":"Chassis/phpcs","owner":"Chassis","description":"A Chassis extension to install PHP_CodeSniffer on your Chassis box","archived":false,"fork":false,"pushed_at":"2020-01-06T11:19:11.000Z","size":11,"stargazers_count":1,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-20T20:35:51.784Z","etag":null,"topics":["chassis","chassis-extension","php-codesniffer","phpcs","wordpress"],"latest_commit_sha":null,"homepage":null,"language":"Puppet","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/Chassis.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-09T05:58:25.000Z","updated_at":"2020-01-06T11:19:14.000Z","dependencies_parsed_at":"2023-02-27T16:15:14.406Z","dependency_job_id":null,"html_url":"https://github.com/Chassis/phpcs","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/Chassis%2Fphpcs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chassis%2Fphpcs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chassis%2Fphpcs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chassis%2Fphpcs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chassis","download_url":"https://codeload.github.com/Chassis/phpcs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253849929,"owners_count":21973630,"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":["chassis","chassis-extension","php-codesniffer","phpcs","wordpress"],"created_at":"2024-11-09T14:30:05.738Z","updated_at":"2025-05-13T00:32:10.476Z","avatar_url":"https://github.com/Chassis.png","language":"Puppet","readme":"# PHP_CodeSniffer\nA Chassis extension to install and configure [PHP_CodeSniffer](http://pear.php.net/package/PHP_CodeSniffer) with [WordPress Coding Standard Sniffs](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards) on your server.\n\n## Usage\n1. Add this extension to your extensions directory. `git clone git@github.com:Chassis/phpcs.git extensions/phpcs`\n2. Run `vagrant provision`\n3. Php_Codesniffer with WordPress Coding Standards has been installed on your Chassis VM!\n\n## Why install this on Chassis?\n\nThis extension is handy so you can run precommit hooks with git that run phpcs tests on your Chassis box.\n\nFor instance you can add a file called `precommit` inside your `.git/hooks` folder with the following:\n\n\t#!/bin/sh\n    \n    /usr/local/bin/vagrant ssh -- -t 'cd /vagrant/content/; grunt precommit;'\n\nIf your project has a precommit grunt task it will run those tests and only let you commit if those tests pass.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchassis%2Fphpcs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchassis%2Fphpcs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchassis%2Fphpcs/lists"}