-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcomposer.json
More file actions
50 lines (50 loc) · 1.49 KB
/
composer.json
File metadata and controls
50 lines (50 loc) · 1.49 KB
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
{
"name": "g4/customer-support",
"type": "library",
"description": "customer support php library",
"keywords": [
"customer",
"support"
],
"homepage": "https://github.com/g4code/customer-support",
"license": "MIT",
"authors": [],
"autoload": {
"psr-4": {
"G4\\CustomerSupport\\": "src/"
}
},
"require-dev": {
"phpunit/phpunit" : "^11.5",
"codeception/codeception" : "^5.1",
"squizlabs/php_codesniffer" : "^3.10",
"g4/code-coverage" : "2.*"
},
"require": {
"php" : ">=8.3",
"g4/value-object" : "*",
"g4/gateway" : "3.*",
"g4/constants" : "0.*",
"g4/factory" : "1.*"
},
"scripts": {
"unit-test": [
"XDEBUG_MODE=coverage php8.3 vendor/bin/phpunit -c tests/unit/phpunit.xml --colors=always --coverage-html tests/unit/coverage"
],
"test-coverage": [
"XDEBUG_MODE=coverage php8.3 ./vendor/bin/phpunit --colors=always -c tests/unit/phpunit.xml --coverage-text"
],
"test-report": [
"XDEBUG_MODE=coverage php8.3 ./vendor/bin/phpunit --colors=always -c tests/unit/phpunit.xml --coverage-clover=tests/unit/coverage/code-coverage.xml"
],
"code-coverage": [
"XDEBUG_MODE=coverage php8.3 ./vendor/bin/code-coverage -p 90 -f tests/unit/coverage/code-coverage.xml"
],
"psr2": [
"php8.3 ./vendor/bin/phpcs --colors --standard=PSR2 src/"
],
"psr2-fix": [
"php8.3 ./vendor/bin/phpcbf --colors --standard=PSR2 src/"
]
}
}