-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
48 lines (48 loc) · 1.46 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
38
39
40
41
42
43
44
45
46
47
48
{
"name": "cross-solution/phpunit-utils",
"description": "Utilities to aid in writing unit tests with the PHPUnit Framework",
"license": "MIT",
"authors": [{
"name": "Mathias Gelhausen",
"email": "[email protected]"
}],
"keywords": [
"phpunit", "utilities", "helper", "testing"
],
"prefer-stable": true,
"config": {
"optimize-autoloader": true
},
"require": {
"php": ">=7.2",
"phpunit/phpunit": "^8.0"
},
"autoload": {
"psr-4": {
"Cross\\TestUtils\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Cross\\TestUtilsTest\\": "test/TestUtilsTest"
}
},
"scripts": {
"test": "vendor/bin/phpunit",
"test-coverage-clover": "vendor/bin/phpunit --coverage-clover=coverage.clover.xml",
"test-coverage-html": "vendor/bin/phpunit --coverage-html=test/coverage",
"lint": "vendor/bin/phpcs -v --standard=phpcs.xml src/*"
},
"scripts-descriptions": {
"test": "Runs the phpunit testsuite",
"test-coverage-clover": "Runs the phpunit testsuite and generates coverage in the clover format in the file 'coverage.clover.xml'",
"test-coverage-html": "Runs the phpunit testsuite and generates coverage in html format in the directory 'test/coverage'.",
"lint": "Runs PHP_CodeSniffer on 'src/*'"
},
"require-dev": {
"php-mock/php-mock-prophecy": "^0.0.2",
"psr/container": "^1.0",
"squizlabs/php_codesniffer": ">=3.4 <3.5.0",
"slevomat/coding-standard": "^5.0"
}
}