PHP code quality project.
Code quality is an important part for growing projects, to raise and hold the quality of your software. The PHP code quality project helps you automate certain checks with continuous integration. PHPCQ build on well known projects like PHP CodeSniffer, PHPMD, Travis CI or Scrutinizer CI.
For detailed description please visit our project website phpcq.org.
Add to your
composer.json in the
You will also have to specify the dependencies of the various tasks, refer to the documentation.
If you want to start from scratch, you need at least a
build.xml file in your repository with at the following
<?xml version="1.0" encoding="UTF-8"?> <project name="my-project" default="build" description="Automated build of my project"> <!-- import the main tasks --> <import file="vendor/phpcq/phpcq/phpcq.main.xml" /> </project>
If you want to use our default settings, you are all set.
Refer to the documentation