-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
41 lines (41 loc) · 1.14 KB
/
composer.json
File metadata and controls
41 lines (41 loc) · 1.14 KB
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
{
"name": "nik/tips",
"description": "Ett program för tipset",
"type": "project",
"license": "proprietary",
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": ">=8.3"
},
"require-dev": {
"phpunit/phpunit": "^12",
"squizlabs/php_codesniffer": "^3.0",
"phpstan/phpstan": "^2.1",
"phpmetrics/phpmetrics": "^2.8",
"phpmd/phpmd": "^2.15"
},
"scripts": {
"phpdoc": "php -d error_reporting='E_ALL & ~E_DEPRECATED' tools/phpdoc/phpdoc --config=tools/phpdoc/phpdoc.xml",
"phpmd": "php -d error_reporting='E_ALL & ~E_DEPRECATED' vendor/bin/phpmd . text vendor/phpmd/phpmd.xml || true",
"phpmetrics": "php -d error_reporting='E_ALL & ~E_DEPRECATED' vendor/bin/phpmetrics --config=vendor/phpmetrics/phpmetrics.json",
"phpstan": "php -d error_reporting='E_ALL & ~E_DEPRECATED' vendor/bin/phpstan analyse -c vendor/phpstan/phpstan.neon || true",
"phpunit": "XDEBUG_MODE=coverage vendor/bin/phpunit",
"phpcs": "./vendor/bin/phpcs src -s",
"lint": [
"@phpmd",
"@phpstan",
"@phpcs"
]
},
"autoload": {
"psr-4": {
"Tips\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tips\\Tests\\": "tests/"
}
}
}