-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
37 lines (37 loc) · 1.26 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"name": "mindplay/testies",
"description": "Yeah, testies: a lightweight library for quick, simple unit-testing",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Rasmus Schultz",
"email": "[email protected]"
}
],
"require": {
"php": "^8.0"
},
"require-dev": {
"phpunit/php-code-coverage": "^9 || ^10 || ^11",
"nyholm/psr7": "^1.8",
"zaphyr-org/http-client": "^1.0",
"mindplay/readable": "^1.2"
},
"suggest": {
"phpunit/php-code-coverage": "^9 || ^10 || ^11"
},
"autoload": {
"files": ["src/test.func.php"],
"psr-4": {
"mindplay\\testies\\": "src/"
}
},
"scripts": {
"post-update-cmd": "php copy-readable.php",
"test": "composer capture && XDEBUG_MODE=coverage php -d 'zend.exception_ignore_args=0' test/test.php",
"example": "XDEBUG_MODE=coverage php -d 'zend.exception_ignore_args=0' test/example.php",
"capture": "XDEBUG_MODE=coverage php -d 'zend.exception_ignore_args=0' test/example.php > test/build/actual-output.txt",
"snapshot": "XDEBUG_MODE=coverage php -d 'zend.exception_ignore_args=0' test/example.php > test/expected-output.txt"
}
}