{"id":26722930,"url":"https://github.com/useallfive/useallfive-coding-standards","last_synced_at":"2025-03-27T20:38:21.482Z","repository":{"id":5368139,"uuid":"6554848","full_name":"UseAllFive/useallfive-coding-standards","owner":"UseAllFive","description":"Repository to hold PHP_CodeSniffer rules and git commit hooks","archived":false,"fork":false,"pushed_at":"2014-03-28T02:23:21.000Z","size":274,"stargazers_count":0,"open_issues_count":3,"forks_count":2,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-12-20T07:07:38.537Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"SlimRoms/android_dalvik","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UseAllFive.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}},"created_at":"2012-11-06T01:33:50.000Z","updated_at":"2014-05-21T22:08:22.000Z","dependencies_parsed_at":"2022-07-07T17:07:33.854Z","dependency_job_id":null,"html_url":"https://github.com/UseAllFive/useallfive-coding-standards","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/UseAllFive%2Fuseallfive-coding-standards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UseAllFive%2Fuseallfive-coding-standards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UseAllFive%2Fuseallfive-coding-standards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UseAllFive%2Fuseallfive-coding-standards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UseAllFive","download_url":"https://codeload.github.com/UseAllFive/useallfive-coding-standards/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245923364,"owners_count":20694713,"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":"2025-03-27T20:38:20.838Z","updated_at":"2025-03-27T20:38:21.436Z","avatar_url":"https://github.com/UseAllFive.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Introduction\n\nThis is a simple bash script to help install UseAllFive's coding standard rules and the dependencies needed to apply these rules in a Git Pre-commit hook.\n\n## Dependencies\n\nWhile this script tries to install as many of the dependencies as possible, there are a few that it can not handle on its own and need to be handled externally.  They are:\n\n* **Node.js** - To install this simply visit, http://nodejs.org/, download and run the installation script\n\n## Usage\n\nTo install all dependencies and the git pre-commit hook, simply run the following from the root directory of your git repository:\n```bash\nsudo ./install.sh -a\n```\n\nIf you would like to only install certain components, then you have the\nfollowing options:\n\n### PEAR\nPEAR is the PHP Extension and Application Repository (http://pear.php.net/). This is a dependency of PHP_CodeSniffer.\n```bash\nsudo ./install.sh --install-pear\n```\n\n### PHP_CodeSniffer\n[PHP_CodeSniffer](http://pear.php.net/package/PHP_CodeSniffer) tokenises PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.  Successful installation of this package depends on PEAR being installed.\n```bash\nsudo ./install.sh --install-php_codesniffer\n```\n\n### JSHint\n[JSHint](http://jshint.com/) is a community-driven tool to detect errors and potential problems in JavaScript code and to enforce your team's coding conventions. It is controlled by a `.jshintrc` file in your project's root directory.  Successful installation of this depends on node.js and npm being installed.\n```bash\nsudo ./install.sh --install-jshint\n```\n\n### Git Commit hook\nThis is a custom git pre-commit hook that depends on the above packages.  This command must be run from the root directory of the git repository you wish to install it to, and will abort if an existing pre-commit hook is present.\n```bash\nsudo ./install.sh --install-git-commit-hooks\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuseallfive%2Fuseallfive-coding-standards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuseallfive%2Fuseallfive-coding-standards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuseallfive%2Fuseallfive-coding-standards/lists"}