-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
64 lines (64 loc) · 2.05 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "kurt-junker/workshop-unit-test-coverage",
"description": "A workshop project for Unit Testing, Mocking and Coverage flow",
"license": "proprietary",
"keywords": [],
"authors": [
{
"name": "Kurt Junker",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"vansari\\workshop\\phpunit\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"vansari\\workshop\\phpunit\\Tests\\": "tests/"
}
},
"require-dev": {
"phpunit/phpunit": "9.6",
"phpstan/phpstan": "1.*",
"overtrue/phplint": "9.*",
"squizlabs/php_codesniffer": "3.*",
"mockery/mockery": "^1.6",
"infection/infection": "^0.27.0"
},
"scripts": {
"lint": "vendor/bin/phplint",
"cs": "vendor/bin/phpcs --standard=PSR12 --extensions=php .",
"unit": "vendor/bin/phpunit",
"coverage": "vendor/bin/phpunit --testsuite=cov --coverage-html=c_coverage_html",
"mock-no-coverage": "vendor/bin/phpunit --testsuite=no_cov --coverage-html=c_mock_no_coverage_html",
"unmocked-no-coverage": "vendor/bin/phpunit --testsuite=unmocked_no_cov --coverage-html=c_unmocked_no_coverage_html",
"mocked-phpunit": "vendor/bin/phpunit --testsuite=mocked_phpunit --coverage-html=c_mocked_phpunit_html",
"mocked-phpunit-no-asserts": "vendor/bin/phpunit --testsuite=mocked_phpunit_no_asserts --coverage-html=c_mocked_phpunit_no_asserts_html",
"test": [
"@lint",
"@cs",
"@@unit"
],
"cov-scenarios": [
"@coverage",
"@mock-no-coverage",
"@unmocked-no-coverage",
"@mocked-phpunit",
"@mocked-phpunit-no-asserts"
]
},
"config": {
"platform": {
"php": "8.2"
},
"allow-plugins": {
"infection/extension-installer": true
}
},
"require": {
"php-di/php-di": "^7.0",
"monolog/monolog": "^3.4"
}
}