phpcq / coding-standard
PHP code quality project coding standard
Fund package maintenance!
discordier
dmolineus
Installs: 38 394
Dependents: 19
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 2
Open Issues: 4
Requires
- php: >=5.6
- squizlabs/php_codesniffer: ^3.5.6
Requires (Dev)
- phpcq/all-tasks: ^1.3
Suggests
- phpcq/phpcq: The PHP code quality project core tasks.
README
Coding Standards
This repository contains the PHPCQ coding standard definitions and style checker rules.
The rules are for phpcs and phpmd.
Usage
The most convenient usage is to use via phpcq/phpcq.
Simply put the following into your projects build.default.properties
file:
phpcs.standard=${basedir}/vendor/phpcq/coding-standard/phpcs/PhpCodeQuality/ruleset.xml
phpmd.ruleset=${basedir}/vendor/phpcq/coding-standard/phpmd/ruleset.xml