-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
82 lines (82 loc) · 2.39 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
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "gacela-project/gacela-env-config-reader",
"description": "Load .env files into Gacela",
"type": "library",
"keywords": ["php", "modular", "kernel"],
"license": "MIT",
"authors": [
{
"name": "Jose Maria Valera Reales",
"email": "[email protected]",
"homepage": "https://chemaclass.com"
},
{
"name": "Jesus Valera Reales",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.0",
"gacela-project/gacela": ">=1.7",
"symfony/dotenv": "^v6.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.59",
"phpunit/phpunit": "^9.6",
"phpstan/phpstan": "^1.11",
"psalm/plugin-phpunit": "^0.18",
"symfony/var-dumper": "^5.4",
"vimeo/psalm": "^5.25"
},
"autoload": {
"psr-4": {
"Gacela\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"GacelaTest\\": "tests"
}
},
"config": {
"platform": {
"php": "8.1"
},
"allow-plugins": {
"composer/package-versions-deprecated": false,
"infection/extension-installer": true
}
},
"scripts": {
"ctal": [
"@static-clear-cache",
"@csfix",
"@test-all"
],
"test": "@test-all",
"test-all": [
"@quality",
"@phpunit"
],
"quality": [
"@csrun",
"@psalm",
"@phpstan"
],
"phpunit": [
"@test-unit",
"@test-feature"
],
"static-clear-cache": [
"vendor/bin/psalm --clear-cache",
"vendor/bin/phpstan clear-result-cache"
],
"test-unit": "XDEBUG_MODE=off ./vendor/bin/phpunit --testsuite=unit",
"test-feature": "XDEBUG_MODE=off ./vendor/bin/phpunit --testsuite=feature",
"test-coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --testsuite=unit,feature --coverage-html=coverage",
"psalm": "XDEBUG_MODE=off ./vendor/bin/psalm",
"phpstan": "XDEBUG_MODE=off ./vendor/bin/phpstan analyze -c phpstan.neon src",
"csfix": "XDEBUG_MODE=off ./vendor/bin/php-cs-fixer fix --allow-risky=yes",
"csrun": "XDEBUG_MODE=off ./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run"
}
}