-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
76 lines (76 loc) · 1.83 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
75
76
{
"name": "wolfulus/php-template",
"description": "PHP Template project.",
"type": "library",
"license": "MIT",
"keywords": [
"template"
],
"authors": [
{
"name": "WoLfulus",
"email": "wolfulus@gmail.com"
}
],
"require": {
"php": ">=7.3",
"ext-json": "*"
},
"require-dev": {
"cedx/coveralls": "^11.2",
"friendsofphp/php-cs-fixer": "^2.16",
"nunomaduro/phpinsights": "^1.14",
"phpmetrics/phpmetrics": "^2.6",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-phpunit": "^0.12",
"phpstan/phpstan-strict-rules": "^0.12",
"phpunit/phpunit": "^9"
},
"autoload": {
"psr-4": {
"WoLfulus\\Php\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"WoLfulus\\Php\\Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"format": "php-cs-fixer --ansi fix",
"insights": "phpinsights -v",
"metrics": "phpmetrics --report-html=./dist/metrics ./src",
"lint:php-cs-fixer": "php-cs-fixer --ansi fix --diff --dry-run",
"lint:phpstan": "phpstan --ansi --memory-limit=2G analyse",
"lint": [
"@lint:php-cs-fixer",
"@lint:phpstan"
],
"ci": [
"@lint",
"@test"
],
"ci:complete": [
"@lint",
"@insights",
"@metrics",
"@test"
],
"check": [
"@format",
"@lint",
"@metrics",
"@insights"
],
"test": "phpunit --colors=always",
"coverage:report": "coveralls ./dist/coverage.xml"
},
"config": {
"sort-packages": true,
"preferred-install": "dist",
"optimize-autoloader": true
}
}