From 5c997528eca0c06c4b4a56b9c021ee23ee1f3d8a Mon Sep 17 00:00:00 2001 From: Dmitriy Derepko Date: Sun, 29 Nov 2020 03:02:23 +0300 Subject: [PATCH] Batch add spatie/phpunit-watcher --- .phpunit-watcher.yml | 11 +++++++++++ composer.json | 11 ++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 .phpunit-watcher.yml diff --git a/.phpunit-watcher.yml b/.phpunit-watcher.yml new file mode 100644 index 00000000..0e4d7663 --- /dev/null +++ b/.phpunit-watcher.yml @@ -0,0 +1,11 @@ +watch: + directories: + - src + - tests + fileMask: '*.php' +notifications: + passingTests: false + failingTests: false +phpunit: + binaryPath: vendor/bin/phpunit + timeout: 180 diff --git a/composer.json b/composer.json index 6f85a38e..b07b06fd 100644 --- a/composer.json +++ b/composer.json @@ -23,20 +23,21 @@ ], "minimum-stability": "dev", "require": { + "php": "^7.4|^8.0", "yiisoft/arrays": "^3.0@dev", "yiisoft/db": "^3.0@dev", - "yiisoft/strings": "^1.1", - "php": "^7.4|^8.0" + "yiisoft/strings": "^1.1" }, "require-dev": { "phpunit/phpunit": "^9.4", "roave/infection-static-analysis-plugin": "^1.5", + "spatie/phpunit-watcher": "^1.23", "vimeo/psalm": "^4.2", - "yiisoft/aliases": "^1.1", "yiisoft/active-record": "dev-master", + "yiisoft/aliases": "^1.1", + "yiisoft/cache": "dev-master", "yiisoft/di": "dev-master", - "yiisoft/log": "dev-master", - "yiisoft/cache": "dev-master" + "yiisoft/log": "dev-master" }, "autoload": { "psr-4": {