-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
55 lines (55 loc) · 1.61 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
{
"name": "berbeflo/config",
"description": "a small config class without dependencies",
"type": "library",
"authors": [
{
"name": "Florian Berberich",
"email": "[email protected]"
}
],
"require": {},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.14",
"phpmd/phpmd": "^2.6",
"phpstan/phpstan": "^0.11.5",
"phpunit/phpunit": "^8.1",
"squizlabs/php_codesniffer": "^3.4"
},
"autoload": {
"psr-4": {
"berbeflo\\Config\\" : "src/"
}
},
"autoload-dev": {
"psr-4": {
"berbeflo\\Config\\Test\\" : "tests/"
}
},
"config": {
"use-include-path": false,
"optimize-autoloader": true,
"sort-packages": true
},
"scripts": {
"run-ci" : [
"phpcs --standard=PSR2 --report=xml src/",
"phpmd src/ xml phpmd.xml",
"phpunit --coverage-html cc --whitelist src --testdox --bootstrap tests/bootstrap.php tests"
],
"fix-cs" : [
"php-cs-fixer fix src/ --format=xml --diff --verbose --allow-risky=yes",
"php-cs-fixer fix tests/ --format=xml --diff --verbose --allow-risky=yes"
],
"check-cs" : [
"phpcs --standard=PSR2 --report=xml src/",
"phpmd src/ xml phpmd.xml"
],
"run-test" : [
"phpunit --coverage-html cc --whitelist src --testdox --bootstrap tests/bootstrap.php tests"
],
"run-stan" : [
"phpstan analyse -l max -c phpstan.neon src"
]
}
}