2017 © Pedro Peláez
 

library qatools

PHP QA Tools

image

bear/qatools

PHP QA Tools

  • Wednesday, July 18, 2018
  • by koriym
  • Repository
  • 2 Watchers
  • 14 Stars
  • 13,478 Installations
  • PHP
  • 6 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 24 Versions
  • 14 % Grown

The README.md

bear/qatools

Collection of commonly used php QA tools., (*1)

Included in this package are:, (*2)

Installation

Global install, (*3)

composer global require bear/qatools

Local install, (*4)

composer require --dev bear/qatools

QA Configs

cp vendor/bear/qatools/phpunit.xml.dist phpunit.xml
cp vendor/bear/qatools/phpcs.xml .
cp vendor/bear/qatools/phpmd.xml .
cp vendor/bear/qatools/phpstan.neon .
psalm --init

CI Configs

cp vendor/bear/qatools/.travis.yml .
cp vendor/bear/qatools/.scrutinizer.yml .

Usage

Test and CS

phpunit, (*5)

phpunit

phpcs, (*6)

phpcs --standard=./phpcs.xml src
phpcs --standard=./phpcs.xml --warning-severity=false src
phpcs --standard=vendor/bear/qatools/phpcs.xml --warning-severity=false src

Code Quality

phpstan, (*7)

phpstan analyse

psalm, (*8)

psalm

phploc, (*9)

phploc src

phpcpd, (*10)

phpcpd src

phpmetrics, (*11)

phpmetrics --report-html=build/metrics/ --extensions=php src,composer.json,composer.lock --junit=build/logs/junit.xml

The Versions