Created
January 13, 2017 08:07
-
-
Save cedricziel/60d2770bcbb4c5e05975df2e21210b58 to your computer and use it in GitHub Desktop.
Tools with tooly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"require": { | |
"tm/tooly-composer-script": "^1.2" | |
}, | |
"require-dev": { | |
"escapestudios/symfony2-coding-standard": "~2.0" | |
}, | |
"scripts": { | |
"post-install-cmd": [ | |
"Tooly\\ScriptHandler::installPharTools" | |
], | |
"post-update-cmd": [ | |
"Tooly\\ScriptHandler::installPharTools" | |
] | |
"install-tools": [ | |
"Tooly\\ScriptHandler::installPharTools" | |
], | |
"build-fast": [ | |
"@lint", | |
"@checkstyle-check", | |
"@security-check", | |
"@phpunit-no-coverage" | |
], | |
"checkstyle-check": "php-cs-fixer.phar fix --dry-run --diff --config-file=\".php_cs\"", | |
"checkstyle-fix": "php-cs-fixer.phar fix --config-file=\".php_cs\"", | |
"security-check": "security-checker.phar security:check", | |
"phpunit-no-coverage": "phpunit --no-coverage", | |
"lint": [ | |
"find src/ -iname \"*.php\" -exec php -l {} \\;", | |
"find tests/ -iname \"*.php\" -exec php -l {} \\;" | |
] | |
}, | |
"config": { | |
"process-timeout": 3600, | |
"sort-packages": true | |
}, | |
"extra": { | |
"tools": { | |
"deptrac": { | |
"url": "http://get.sensiolabs.de/deptrac.phar", | |
"force-replace": true, | |
"only-dev": true | |
}, | |
"phpcpd": { | |
"url": "https://phar.phpunit.de/phpcpd-2.0.4.phar", | |
"force-replace": true, | |
"only-dev": true | |
}, | |
"phpmd": { | |
"url": "http://static.phpmd.org/php/latest/phpmd.phar", | |
"force-replace": true, | |
"only-dev": true | |
}, | |
"phpmd-extension": { | |
"url": "https://github.com/mi-schi/phpmd-extension/releases/download/stable/phpmd-extension.phar", | |
"force-replace": true, | |
"only-dev": true | |
}, | |
"pdepend": { | |
"url": "http://static.pdepend.org/php/latest/pdepend.phar", | |
"force-replace": true, | |
"only-dev": true | |
}, | |
"phploc": { | |
"url": "https://phar.phpunit.de/phploc.phar", | |
"force-replace": true, | |
"only-dev": true | |
}, | |
"phpdox": { | |
"url": "https://github.com/theseer/phpdox/releases/download/0.9.0/phpdox-0.9.0.phar", | |
"force-replace": true, | |
"only-dev": true | |
}, | |
"php-cs-fixer": { | |
"url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v1.12.3/php-cs-fixer.phar", | |
"force-replace": true, | |
"only-dev": true | |
}, | |
"phpcs": { | |
"url": "https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar", | |
"force-replace": true, | |
"only-dev": true | |
}, | |
"security-checker": { | |
"url": "http://get.sensiolabs.org/security-checker.phar", | |
"force-replace": true | |
} | |
} | |
}, | |
"minimum-stability": "dev", | |
"prefer-stable" : true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment