Skip to content

Commit

Permalink
Batch add spatie/phpunit-watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
xepozz authored and devanych committed Feb 2, 2021
1 parent 3ade43b commit 8644f1c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .phpunit-watcher.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
watch:
directories:
- src
- tests
fileMask: '*.php'
notifications:
passingTests: false
failingTests: false
phpunit:
binaryPath: vendor/bin/phpunit
timeout: 180
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.4|^8.0",
"ext-json": "*",
"ext-pdo": "*",
"php": "^7.4|^8.0",
"yiisoft/arrays": "^3.0@dev",
"yiisoft/db": "^3.0@dev",
"yiisoft/json": "^1.0",
Expand All @@ -29,6 +29,7 @@
"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/cache": "^3.0@dev",
Expand Down

0 comments on commit 8644f1c

Please sign in to comment.