Skip to content

Commit 8644f1c

Browse files
xepozzdevanych
authored andcommitted
Batch add spatie/phpunit-watcher
1 parent 3ade43b commit 8644f1c

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.phpunit-watcher.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
watch:
2+
directories:
3+
- src
4+
- tests
5+
fileMask: '*.php'
6+
notifications:
7+
passingTests: false
8+
failingTests: false
9+
phpunit:
10+
binaryPath: vendor/bin/phpunit
11+
timeout: 180

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
"minimum-stability": "dev",
1919
"prefer-stable": true,
2020
"require": {
21+
"php": "^7.4|^8.0",
2122
"ext-json": "*",
2223
"ext-pdo": "*",
23-
"php": "^7.4|^8.0",
2424
"yiisoft/arrays": "^3.0@dev",
2525
"yiisoft/db": "^3.0@dev",
2626
"yiisoft/json": "^1.0",
@@ -29,6 +29,7 @@
2929
"require-dev": {
3030
"phpunit/phpunit": "^9.4",
3131
"roave/infection-static-analysis-plugin": "^1.5",
32+
"spatie/phpunit-watcher": "^1.23",
3233
"vimeo/psalm": "^4.2",
3334
"yiisoft/aliases": "^1.1",
3435
"yiisoft/cache": "^3.0@dev",

0 commit comments

Comments
 (0)