Skip to content

ksaylor11/php-qatools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

php-qatools

Collection of PHP QA tools

PHP_CodeSniffer

documentation

Install:

composer global require "squizlabs/php_codesniffer=*"

Usage:

For phpcs

Integrate with Jetbrains see documentation

Use custom configuration file: phpcs.xml.dist thanks to Woody Gilk http:https://shadowhand.me/configuring-php-style-checks-with-composer/

For phpcbf

phpcbf <file or directory>

PHPMD

documentation

Install:

composer global require "phpmd/phpmd=*"

Usage:

Integrate with Jetbrains see documentation

PHPUnit

documentation

Install:

composer global require "phpunit/phpunit=*"

PHP Coding Standards Fixer

documentation

Install

composer require "friendsofphp/php-cs-fixer"

Usage:

Use custom configuration file: .php_cs. This configuration will check against PSR1 and PSR2 coding conventions as well as clean up unused imports. (Similar to the code cleanup options that Jetbrains provides)

About

Collection of PHP QA tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages