diff options
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 106 |
1 files changed, 56 insertions, 50 deletions
diff --git a/composer.json b/composer.json index 2d2dae1..12b293c 100644 --- a/composer.json +++ b/composer.json @@ -1,55 +1,61 @@ { - "name": "phpmd/phpmd", - "description": "PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD.", - "keywords": [ - "phpmd", - "pdepend", - "pmd", - "mess detection", - "mess detector" - ], - "type": "project", - "license": "BSD-3-Clause", - "homepage": "http://phpmd.org/", - "authors": [ - { - "name": "Manuel Pichler", - "homepage": "https://github.com/manuelpichler", - "email": "github@manuel-pichler.de", - "role": "Project Founder" - }, - { - "name": "Marc Würth", - "homepage": "https://github.com/ravage84", - "email": "ravage@bluewin.ch", - "role": "Project Maintainer" - }, - { - "name": "Other contributors", - "homepage": "https://github.com/phpmd/phpmd/graphs/contributors", - "role": "Contributors" - } - ], - "support": { - "irc": "irc://irc.freenode.org/phpmd" + "name": "phpmd/phpmd", + "description": "PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD.", + "keywords": [ + "phpmd", + "pdepend", + "pmd", + "mess detection", + "mess detector" + ], + "type": "library", + "license": "BSD-3-Clause", + "homepage": "https://phpmd.org/", + "authors": [ + { + "name": "Manuel Pichler", + "homepage": "https://github.com/manuelpichler", + "email": "github@manuel-pichler.de", + "role": "Project Founder" }, - "minimum-stability" : "stable", - "require": { - "php": ">=5.3.9", - "pdepend/pdepend": "^2.5", - "ext-xml": "*" + { + "name": "Marc Würth", + "homepage": "https://github.com/ravage84", + "email": "ravage@bluewin.ch", + "role": "Project Maintainer" }, - "require-dev": { - "phpunit/phpunit": "^4.0", - "squizlabs/php_codesniffer": "^2.0" - }, - "autoload": { - "psr-0": { - "PHPMD\\": "src/main/php" - } - }, - "bin": ["src/bin/phpmd"], - "scripts": { - "test": "phpunit" + { + "name": "Other contributors", + "homepage": "https://github.com/phpmd/phpmd/graphs/contributors", + "role": "Contributors" + } + ], + "support": { + "irc": "irc://irc.freenode.org/phpmd" + }, + "minimum-stability": "stable", + "require": { + "php": ">=5.3.9", + "pdepend/pdepend": "^2.5", + "ext-xml": "*" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.36 || ^5.7.27", + "squizlabs/php_codesniffer": "^2.0", + "mikey179/vfsstream": "^1.6.4", + "gregwar/rst": "^1.0" + }, + "autoload": { + "psr-0": { + "PHPMD\\": "src/main/php" } + }, + "bin": [ + "src/bin/phpmd" + ], + "scripts": { + "test": "phpunit", + "cs-check": "phpcs -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 ./src/main/php ./src/test/php", + "cs-fix": "phpcbf -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 ./src/main/php ./src/test/php" + } } |