-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
58 lines (58 loc) · 1.71 KB
/
composer.json
File metadata and controls
58 lines (58 loc) · 1.71 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
51
52
53
54
55
56
57
58
{
"name": "g4/redirect",
"description": "redirect",
"autoload": {
"psr-4": {
"G4\\Redirect\\" : "src/"
}
},
"authors": [
{
"name": "Dejan Samardzija",
"email": "samardzija.dejan@gmail.com"
},
{
"name": "Drasko Gomboc",
"email": "drasko.gomboc@gmail.com"
},
{
"name": "Ivan Krickovic",
"email": "ivan.krickovic@gmail.com"
},
{
"name": "Danijel Bjelancevic",
"email": "danijel.bjelancevic@gmail.com"
}
],
"require": {
"php": ">=8.3",
"g4/value-object": "*",
"g4/constants": "*",
"g4/predefined-variables": "*"
},
"require-dev": {
"g4/code-coverage": "*",
"phpunit/phpunit": "*",
"squizlabs/php_codesniffer": "*"
},
"scripts": {
"unit-test": [
"php8.3 ./vendor/bin/phpunit -c tests/unit/phpunit.xml"
],
"test-coverage": [
"XDEBUG_MODE=coverage php8.3 ./vendor/bin/phpunit --colors=always -c tests/unit/phpunit.xml --coverage-text --coverage-html tests/unit/coverage"
],
"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": [
"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/"
]
}
}