kuick / qa-toolkit
Kuick QA toolkit. It is a meta-package with popular PHP testing tools
Installs: 3 332
Dependents: 11
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kuick/qa-toolkit
Requires
- php: >=8.2.0
 - phpmd/phpmd: ^2.0
 - phpstan/phpstan: ^2.0
 - phpunit/phpunit: ^12.0
 - squizlabs/php_codesniffer: ^3.0
 
README
QA meta-package with popular PHP testing tools
- Add this section to your composer.json file
 
"scripts": {
    "fix:phpcbf": "phpcbf --standard=PSR12 src tests",
    "test:phpstan": "XDEBUG_MODE=off phpstan --level=9 --no-progress --memory-limit=512M analyse src tests",
    "test:phpcs": "phpcs -n --standard=PSR12 ./src ./tests",
    "test:phpmd": "phpmd src text cleancode,codesize,controversial,design,naming,unusedcode",
    "test:phpunit": "XDEBUG_MODE=coverage phpunit",
    "test:all": [
        "@test:phpcs",
        "@test:phpstan",
        "@test:phpmd",
        "@test:phpunit"
    ]
}