forked from shlinkio/shlink-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
74 lines (74 loc) · 2.54 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
{
"name": "shlinkio/shlink-config",
"type": "library",
"homepage": "https://shlink.io",
"description": "Utils to load, parse and work with configuration on Shlink project",
"license": "MIT",
"authors": [
{
"name": "Alejandro Celaya Alastrué",
"homepage": "https://www.alejandrocelaya.com",
"email": "[email protected]"
}
],
"require": {
"php": "^8.2",
"laminas/laminas-servicemanager": "^4.2 || ^3.22",
"laminas/laminas-stdlib": "^3.20"
},
"suggest": {
"cuyz/valinor": "To be able to use ValinorConfigFactory"
},
"require-dev": {
"cuyz/valinor": "^1.12",
"devster/ubench": "^2.1",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpunit/phpunit": "^11.4",
"psr/simple-cache": "^2.0",
"roave/security-advisories": "dev-master",
"shlinkio/php-coding-standard": "~2.4.0",
"symfony/var-dumper": "^7.1"
},
"autoload": {
"psr-4": {
"Shlinkio\\Shlink\\Config\\": "src"
},
"files": [
"functions/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"ShlinkioTest\\Shlink\\Config\\": "test"
}
},
"scripts": {
"ci": [
"@cs",
"@stan",
"@test:ci"
],
"cs": "phpcs",
"cs:fix": "phpcbf",
"stan": "phpstan analyse",
"test": "phpunit --order-by=random --testdox --testdox-summary",
"test:ci": "XDEBUG_MODE=coverage composer test -- --coverage-clover=build/clover.xml --coverage-xml=build/coverage-xml",
"test:pretty": "XDEBUG_MODE=coverage composer test -- --coverage-html=build/coverage-html"
},
"scripts-descriptions": {
"ci": "<fg=blue;options=bold>Alias for \"cs\", \"stan\" and \"test:ci\"</>",
"cs": "<fg=blue;options=bold>Checks coding styles</>",
"cs:fix": "<fg=blue;options=bold>Fixes coding styles, when possible</>",
"stan": "<fg=blue;options=bold>Inspects code with phpstan</>",
"test": "<fg=blue;options=bold>Runs unit tests with no coverage reports</>",
"test:ci": "<fg=blue;options=bold>Runs unit tests generating coverage reports and logs</>",
"test:pretty": "<fg=blue;options=bold>Runs unit tests generating coverage reports in html</>"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}