/php-grade

Primary LanguagePHPMIT LicenseMIT

php-grade

With php-grade you can report your own project QA statistics. It makes use of some of The PHP Quality Assurance Toolchain like phpmd

Installation

Run

Run this from the git cloned directory and open the given url.

bin/php-grade run -vvv src --serve

Options

Checkout the available options.

bin/php-grade help run

Example

bin/php-grade run \
  --verbose \
  --tests=phpcs \
  --tests=phpdcd \
  --output-dir=../gh-pages/php-grade/stats/ \
  src

What we do

We run each of the tests individual with a watch tool.

watch bin/php-grade run bin/ --tests=phpcs

This shows you the toplevel lines to fix the first lines.

Our gradings

http://build2be.github.io/php-grade/stats/