composer.json
{
"name": "bmitch/churn-php",
"description": "Discover files in need of refactoring.",
"license": "MIT",
"keywords": [
"churn",
"complexity",
"refactoring",
"static analysis"
],
"authors": [
{
"name": "Bill Mitchell",
"email": "wkmitch@gmail.com",
"role": "creator"
},
{
"name": "Fabien Villepinte",
"email": "fabien.villepinte@gmail.com",
"role": "maintainer"
}
],
"homepage": "https://github.com/bmitch/churn-php",
"require": {
"php": ">=7.1.3",
"ext-json": "*",
"ext-tokenizer": "*",
"composer-runtime-api": "^2",
"symfony/console": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"symfony/filesystem": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"symfony/process": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"symfony/yaml": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"webmozart/assert": "^1.2"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.5",
"mockery/mockery": "^1.3.0",
"phar-io/manifest": "^1.0 || ^2.0",
"symfony/phpunit-bridge": "^5.1 || ^6.0 || ^7.0"
},
"autoload": {
"psr-4": {
"Churn\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Churn\\Tests\\": "tests"
},
"exclude-from-classmap": [
"/tests/Unit/Assets",
"/tests/Unit/Assets2"
]
},
"bin": [
"bin/churn"
],
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"composer/package-versions-deprecated": true
},
"sort-packages": true
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true,
"target-directory": "vendor-bin"
}
},
"scripts": {
"fix": [
"phpcbf --runtime-set ignore_errors_on_exit 1",
"phpcbf --standard=phpcs-tests.xml --runtime-set ignore_errors_on_exit 1"
],
"test": [
"@composer validate --strict",
"parallel-lint src tests",
"@composer dump-autoload --optimize --strict-psr",
"phpmd src text phpmd.xml",
"phploc src",
"phpcpd src",
"simple-phpunit --colors=always --testdox --testsuite churn-tests --coverage-clover=coverage.xml",
"@php bin/churn run src -p -vvv",
"phpcs",
"phpcs --standard=phpcs-tests.xml",
"psalm",
"phpstan"
]
}
}