-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
47 lines (47 loc) · 1.29 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
{
"name": "fresh-advance/regex-dependency",
"description": "Small, configurable service locator/DI container with possibility to describe keys as regular expressions. The component can be used as a Router too.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Anton Fedurtsya",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.4",
"psr/container": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "*",
"squizlabs/php_codesniffer": "*",
"phpstan/phpstan": "^0.12.54"
},
"autoload": {
"psr-4": {
"FreshAdvance\\Dependency\\": "Source"
}
},
"autoload-dev": {
"psr-4": {
"FreshAdvance\\Dependency\\Tests\\": "Tests/"
}
},
"scripts": {
"phpcs": "phpcs Source Tests --standard=PSR12",
"phpunit": "phpunit -c Tests/phpunit.xml Tests",
"phpunit-coverage": "vendor/bin/phpunit -c Tests/phpunit.xml --coverage-html=Coverage Tests",
"phpunit-clover": "XDEBUG_MODE=coverage vendor/bin/phpunit -c Tests/phpunit.xml --coverage-clover=build/logs/clover.xml --log-junit=build/logs/phpunit.xml Tests",
"phpstan": "vendor/bin/phpstan analyse Source Tests --level 8",
"check": [
"@phpcs",
"@phpstan",
"@phpunit"
],
"style": [
"@phpcs",
"@phpstan"
]
}
}