-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
51 lines (51 loc) · 1.57 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
{
"name": "midnight/automatic-di",
"type": "library",
"description": "automatic dependency injection for PHP",
"license": "MIT",
"require": {
"php": "^7.4 || ^8.0",
"psr/container": "^1.1 || ^2.0"
},
"require-dev": {
"eventjet/coding-standard": "^3.6",
"infection/infection": "^0.21.4",
"maglnet/composer-require-checker": "^3.2",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^0.12.83",
"phpstan/phpstan-phpunit": "^0.12.16",
"phpstan/phpstan-strict-rules": "^0.12.2",
"phpunit/phpunit": "^9.5"
},
"config": {
"sort-packages": true
},
"autoload": {
"psr-4": {
"Midnight\\AutomaticDi\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"MidnightTest\\Unit\\AutomaticDi\\": "tests/unit"
}
},
"minimum-stability": "stable",
"scripts": {
"post-create-project-cmd": "Eventjet\\CreateLibrary\\RunTasks::init",
"check": [
"@check-deps",
"@cs-check",
"@phpstan",
"@phpunit",
"@infection"
],
"check-deps": "vendor/bin/composer-require-checker",
"cs-check": "vendor/bin/phpcs",
"cs-fix": "vendor/bin/phpcbf",
"infection": "vendor/bin/infection --threads=4",
"infection-xdebug": "@composer run --timeout=0 infection -- --initial-tests-php-options='-d zend_extension=xdebug.so'",
"phpstan": "vendor/bin/phpstan analyse",
"phpunit": "vendor/bin/phpunit"
}
}