composer.json
{
"name": "sugared-rim/php-cs-fixer",
"type": "library",
"description": "PHP-CS-Fixer sweetened with ease",
"license": "MIT",
"keywords": ["sugared", "preconfigured", "php-cs-fixer", "standards", "cs", "lint", "sugared-rim"],
"authors": [
{
"name": "Michael Mayer",
"email": "michael@schnittstabil.de"
}
],
"autoload": {
"psr-4": { "SugaredRim\\PhpCsFixer\\": "src" }
},
"autoload-dev": {
"psr-4": { "SugaredRim\\PhpCsFixer\\": "tests" }
},
"require": {
"php": ">=5.6.0",
"friendsofphp/php-cs-fixer": "^2.0",
"schnittstabil/composer-extra": "^1.0 || ^2.0",
"schnittstabil/finder-by-config": "^0.1 || ^1.0",
"schnittstabil/get": "^2.0 || ^3.0"
},
"require-dev": {
"sugared-rim/phpunit": "^2.0 || ^6.0 || ^7.0"
},
"extra": {
"sugared-rim/php-cs-fixer no-presets": {
"presets": false
}
},
"bin": [
"sugared-rim-php-cs-fixer"
],
"scripts": {
"clean": "rm -rf build/",
"doc": [
"sugared-sami",
"phpmetrics --report-html build/phpmetrics/index.html src/"
],
"lint": [
"sugared-rim-phpcs",
"sugared-phpmd",
"php-cs-fixer fix --dry-run --diff sugared-rim-php-cs-fixer",
"php-cs-fixer fix --dry-run --diff src",
"php-cs-fixer fix --dry-run --diff tests"
],
"test": [
"sugared-rim-phpunit",
"./sugared-rim-php-cs-fixer --help",
"composer lint"
],
"travis": "sugared-rim-phpunit"
}
}