-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
70 lines (70 loc) · 2.35 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
65
66
67
68
69
70
{
"name": "gustavofreze/cheap-delivery",
"description": "POC for a logistics domain application.",
"type": "project",
"license": "MIT",
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"CheapDelivery\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Test\\": "tests/",
"CheapDelivery\\": "tests/Unit/"
}
},
"require": {
"php": "^8.2",
"slim/psr7": "^1.7",
"slim/slim": "^4.14",
"ramsey/uuid": "^4.7",
"doctrine/dbal": "^3.9",
"tiny-blocks/math": "^3",
"tiny-blocks/http": "^3",
"tiny-blocks/collection": "^1",
"tiny-blocks/value-object": "^3",
"php-di/slim-bridge": "^3.4",
"ext-pdo": "*",
"ext-bcmath": "*"
},
"require-dev": {
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^1",
"phpunit/phpunit": "^11",
"dg/bypass-finals": "^1.8",
"infection/infection": "^0.29",
"squizlabs/php_codesniffer": "^3.10"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"infection/extension-installer": true
}
},
"scripts": {
"test": "phpunit --log-junit=report/coverage/junit.xml --coverage-xml=report/coverage/coverage-xml --coverage-html=report/coverage/coverage-html tests",
"phpcs": "phpcs --standard=PSR12 --extensions=php ./src",
"phpmd": "phpmd ./src text phpmd.xml --suffixes php --exclude --ignore-violations-on-exit",
"phpstan": "phpstan analyse -c phpstan.neon.dist --quiet --no-progress",
"fix-style": "phpcbf ./src --extensions=php",
"test-no-coverage": "phpunit --no-coverage",
"unit-test": "phpunit -c phpunit.xml --no-coverage --testsuite unit",
"mutation-test": "infection --log-verbosity=all --only-covered --logger-html=report/coverage/mutation-report.html --coverage=report/coverage --min-msi=100 --min-covered-msi=100 --threads=4",
"integration-test": "phpunit -c phpunit.xml --no-coverage --testsuite integration",
"review": [
"@phpcs",
"@phpmd",
"@phpstan"
],
"tests": [
"@test",
"@mutation-test"
],
"tests-file-no-coverage": [
"@test-no-coverage"
]
}
}