-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
49 lines (49 loc) · 1.33 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
{
"name": "shlinkio/shlink-json",
"type": "library",
"homepage": "https://shlink.io",
"description": "JSON encoding/decoding utilities",
"license": "MIT",
"authors": [
{
"name": "Alejandro Celaya Alastrué",
"homepage": "https://www.alejandrocelaya.com",
"email": "[email protected]"
}
],
"require": {
"php": "^8.3",
"ext-json": "*"
},
"require-dev": {
"phpstan/phpstan": "^2.1",
"roave/security-advisories": "dev-master",
"shlinkio/php-coding-standard": "~2.4.0"
},
"autoload": {
"files": [
"functions/functions.php"
]
},
"scripts": {
"ci": [
"@cs",
"@stan"
],
"cs": "phpcs",
"cs:fix": "phpcbf",
"stan": "phpstan analyse"
},
"scripts-descriptions": {
"ci": "<fg=blue;options=bold>Alias for \"cs\" and \"stan\"</>",
"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</>"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}