-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
87 lines (87 loc) · 2.48 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
{
"name": "stellarwp/container",
"description": "A PSR-11 Dependency Injection (DI) container for use in WordPress codebases",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "StellarWP",
"homepage": "https://stellarwp.com"
}
],
"support": {
"issues": "https://github.com/stellarwp/container/issues",
"source": "https://github.com/stellarwp/container"
},
"repositories": [
{
"type": "vcs",
"url": "[email protected]:stellarwp/coding-standards.git"
}
],
"autoload": {
"psr-4": {
"StellarWP\\Container\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "stable",
"require": {
"php": "^5.6 | ^7.0 | ^8.0",
"psr/container": "~1.0.0"
},
"require-dev": {
"league/climate": "^3.8",
"stellarwp/coding-standards": "dev-develop",
"szepeviktor/phpstan-wordpress": "^1.0",
"yoast/phpunit-polyfills": "^1.0"
},
"provide": {
"psr/container-implementation": "^1.0.0"
},
"scripts": {
"test": [
"@test:all"
],
"test:all": [
"@test:unit",
"@test:standards",
"@test:analysis"
],
"test:analysis": [
"phpstan analyse -c phpstan.neon.dist --memory-limit=512M"
],
"test:benchmark": [
"php tests/benchmark.php"
],
"test:coverage": [
"phpdbg -qrr -d memory_limit=-1 ./vendor/bin/phpunit --coverage-html=tests/coverage --colors=always"
],
"test:standards": [
"phpcs --cache",
"php-cs-fixer fix --config=.php-cs-fixer.dist.php -v --diff --dry-run"
],
"test:unit": [
"phpunit --testdox --colors=always"
]
},
"scripts-descriptions": {
"test:all": "Run all automated tests.",
"test:analysis": "Perform static code analysis.",
"test:benchmark": "Benchmark the container performance.",
"test:coverage": "Generate code coverage reports.",
"test:standards": "Check coding standards.",
"test:unit": "Run all of the PHPUnit test suites."
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}