-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
composer.json
139 lines (139 loc) · 4.96 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "gacela-project/gacela",
"description": "Gacela helps you separate your project into modules",
"license": "MIT",
"type": "library",
"keywords": [
"php",
"modular",
"framework",
"kernel"
],
"authors": [
{
"name": "Jose Maria Valera Reales",
"email": "[email protected]",
"homepage": "https://chemaclass.com"
},
{
"name": "Jesus Valera Reales",
"email": "[email protected]",
"homepage": "https://jesusvalerareales.com/"
}
],
"homepage": "https://gacela-project.com",
"support": {
"issues": "https://github.com/gacela-project/gacela/issues"
},
"require": {
"php": ">=8.1",
"gacela-project/container": "^0.6"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.45",
"friendsofphp/php-cs-fixer": "^3.56",
"infection/infection": "^0.26",
"phpbench/phpbench": "^1.3",
"phpmetrics/phpmetrics": "^2.8",
"phpstan/phpstan": "^1.12",
"phpstan/phpstan-strict-rules": "^1.6",
"phpunit/phpunit": "^10.5",
"psalm/plugin-phpunit": "^0.19",
"rector/rector": "^1.2",
"symfony/console": "^6.4",
"symfony/var-dumper": "^6.4",
"vimeo/psalm": "^5.26"
},
"suggest": {
"gacela-project/gacela-env-config-reader": "Allows to read .env config files",
"gacela-project/gacela-yaml-config-reader": "Allows to read yml/yaml config files",
"gacela-project/phpstan-extension": "A set of phpstan rules for Gacela",
"symfony/console": "Allows to use vendor/bin/gacela script"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Gacela\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"GacelaData\\": "data/",
"GacelaTest\\": "tests/"
}
},
"bin": [
"bin/gacela"
],
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"ergebnis/composer-normalize": true,
"infection/extension-installer": true
},
"platform": {
"php": "8.1"
},
"sort-packages": true
},
"scripts": {
"post-install-cmd": "tools/git-hooks/init.sh",
"clear-cache-phpstan": "XDEBUG_MODE=off vendor/bin/phpstan clear-result-cache",
"clear-cache-psalm": "XDEBUG_MODE=off vendor/bin/psalm --clear-cache",
"csfix": "XDEBUG_MODE=off ./vendor/bin/php-cs-fixer fix",
"csrun": "XDEBUG_MODE=off ./vendor/bin/php-cs-fixer fix --dry-run",
"ctal": [
"@static-clear-cache",
"@csfix",
"@test-all"
],
"fix": [
"@static-clear-cache",
"@composer normalize",
"@csfix",
"@rector"
],
"infection": [
"XDEBUG_MODE=coverage ./vendor/bin/infection --show-mutations --threads=max --min-msi=75 --min-covered-msi=75",
"find tests -type f -name 'gacela-custom-services.php' -exec rm -rf {} \\;",
"find tests -type f -name 'gacela-class-names.php' -exec rm -rf {} \\;"
],
"metrics-report": [
"@test-all-suites",
"XDEBUG_MODE=off ./vendor/bin/phpmetrics --config=phpmetrics-config.json --junit=data/log-junit.xml"
],
"phpbench": "XDEBUG_MODE=off ./vendor/bin/phpbench run --report=aggregate --ansi",
"phpbench-base": "XDEBUG_MODE=off ./vendor/bin/phpbench run --tag=baseline --report=aggregate --progress=plain --ansi",
"phpbench-ref": "XDEBUG_MODE=off ./vendor/bin/phpbench run --ref=baseline --report=aggregate --progress=plain --ansi",
"phpstan": "XDEBUG_MODE=off ./vendor/bin/phpstan analyze",
"phpunit": [
"@test-unit",
"@test-integration",
"@test-feature"
],
"psalm": "XDEBUG_MODE=off ./vendor/bin/psalm",
"quality": [
"@csrun",
"@psalm",
"@phpstan"
],
"rector": "./vendor/bin/rector",
"static-clear-cache": [
"@clear-cache-psalm",
"@clear-cache-phpstan"
],
"test": [
"@test-all"
],
"test-all": [
"@quality",
"@phpunit"
],
"test-all-suites": "XDEBUG_MODE=off ./vendor/bin/phpunit --testsuite=unit,integration,feature --log-junit=data/log-junit.xml",
"test-coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --testsuite=unit,integration,feature --coverage-html=data/coverage-html --coverage-xml=data/coverage-xml --log-junit=data/coverage-xml/junit.xml",
"test-feature": "XDEBUG_MODE=off ./vendor/bin/phpunit --testsuite=feature",
"test-integration": "XDEBUG_MODE=off ./vendor/bin/phpunit --testsuite=integration",
"test-unit": "XDEBUG_MODE=off ./vendor/bin/phpunit --testsuite=unit"
}
}