Skip to content

Commit ab6a840

Browse files
committed
Added phpunit command to composer.json
1 parent c1a1b5f commit ab6a840

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,10 @@
127127
"php": "7.4"
128128
},
129129
"sort-packages": true
130+
},
131+
"scripts": {
132+
"phpunit:test": "@php vendor/bin/phpunit --no-coverage \"$@\" --testdox",
133+
"phpunit:coverage": "@php -XDEBUG_MODE=coverage vendor/bin/phpunit --testdox",
134+
"phpunit:coverage-local": "@php -XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-html build/coverage --testdox"
130135
}
131136
}

0 commit comments

Comments
 (0)