-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
59 lines (59 loc) · 1.93 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
{
"name": "codenamephp/platform.di",
"description": "Simple dependency injection container based on www.php-di.org",
"type": "library",
"license": "Apache-2.0",
"authors": [
{
"name": "Bastian Schwarz",
"email": "[email protected]"
}
],
"require": {
"php": "^8.0",
"codenamephp/platform.core": "^1",
"marcj/topsort": "^1.1 || ^2.0",
"php-di/php-di": "^6",
"psr/container": "^1.0"
},
"autoload": {
"psr-4": {
"de\\codenamephp\\platform\\di\\": [
"src"
]
}
},
"autoload-dev": {
"psr-4": {
"de\\codenamephp\\platform\\di\\": [
"test"
]
}
},
"config": {
"sort-packages": true
},
"scripts": {
"phive-update": "XDEBUG_MODE=off phive update && git add tools/* phive.xml && git commit -m 'Updated phive dependencies'",
"phpunit": "XDEBUG_MODE=coverage tools/phpunit.phar -c test/phpunit.dist.xml test/",
"psalm": "XDEBUG_MODE=off tools/psalm --threads=10 --long-progress --no-diff",
"composer-unused": "XDEBUG_MODE=off tools/composer-unused --no-progress --no-interaction",
"composer-require-checker": "XDEBUG_MODE=off tools/composer-require-checker --no-interaction",
"infection": "XDEBUG_MODE=coverage tools/infection --min-msi=100 --min-covered-msi=100 --threads=4 --no-progress --show-mutations",
"ci-all": [
"@phpunit",
"@psalm",
"@composer-unused",
"@infection"
]
},
"scripts-descriptions": {
"phive-update": "Runs a phive update and commits all tools and the phive.xml so PHPStorm won't run code formatting on the phars",
"phpunit": "Runs phpunit tests",
"psalm": "Runs psalm static analysis",
"composer-unused": "Checks for unused composer packages",
"composer-require-checker": "Checks for missing required composer packages",
"infection": "Creates mutation tests to discover missing test coverage",
"ci-all": "Runs all ci tools in sequence"
}
}