diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 18bf10ed2..1bef8c85d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,7 +11,7 @@ You MUST follow the [PSR-1](http://www.php-fig.org/psr/psr-1/) and should really read the recommendations. Can't wait? Use the [PHP-CS-Fixer tool](http://cs.sensiolabs.org/). -You MUST run the test suite (run `composer update`, and then execute `vendor/bin/simple-phpunit`). +You MUST run the test suite (run `composer update`, and then execute `composer run phpunit`). You MUST write (or update) unit tests. diff --git a/composer.json b/composer.json index 7c153d2c2..3962fdd54 100644 --- a/composer.json +++ b/composer.json @@ -90,5 +90,11 @@ "branch-alias": { "dev-master": "4.x-dev" } + }, + "scripts-descriptions": { + "phpunit": "Run phpunit" + }, + "scripts": { + "phpunit": "phpunit" } } diff --git a/phpunit b/phpunit deleted file mode 100755 index ffa70d2d9..000000000 --- a/phpunit +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env php -