-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
34 lines (34 loc) · 870 Bytes
/
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
{
"require": {
"php": "^8.2",
"geoip2/geoip2": "^3.0"
},
"require-dev": {
"phpstan/phpstan": "^1.10",
"squizlabs/php_codesniffer": "^3.8",
"phpunit/phpunit": "^11.2",
"phpstan/phpstan-phpunit": "^1.3",
"bizurkur/mockfs": "^0.2.0"
},
"autoload": {
"psr-4": {
"IntruderAlert\\": "backend/include/"
}
},
"autoload-dev": {
"classmap": [
"backend/tests/"
]
},
"scripts": {
"lint": "phpstan --memory-limit=150M && phpcs",
"lint-phpstan": "phpstan",
"lint-phpcs": "phpcs",
"lint-phpcs-gh-action": "phpcs --report=checkstyle | cs2pr",
"fix": "phpcbf",
"test": "phpunit --colors --coverage-html coverage-reports"
},
"config": {
"vendor-dir": "backend/vendor"
}
}