forked from klarna/kco_rest_php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
55 lines (55 loc) · 1.94 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": "klarna/kco_rest",
"description": "Official Klarna REST PHP SDK",
"homepage": "http://developers.klarna.com",
"license": "Apache-2.0",
"type": "library",
"authors": [
{
"name": "Klarna AB"
}
],
"autoload": {
"psr-4": {
"Klarna\\": "src/Klarna/"
}
},
"autoload-dev": {
"psr-4": {
"Klarna\\Rest\\Tests\\": "tests/"
}
},
"minimum-stability": "stable",
"require": {
"php": ">=5.5.0",
"guzzlehttp/guzzle": "^7.0"
},
"require-dev": {
"phpunit/phpunit": ">=4.0.0, <6.0",
"squizlabs/php_codesniffer": "1.5.*",
"phpmd/phpmd": "2.1.*",
"phploc/phploc": "2.0.*",
"sebastian/phpcpd": "2.0.*",
"php-coveralls/php-coveralls": "^2.1",
"apigen/apigen": "4.1.*",
"klarna/apigen-theme": "2.1.0"
},
"scripts": {
"test": "vendor/bin/phpunit --colors",
"reference": "vendor/bin/apigen generate -s src -d docs/reference --template-config='vendor/klarna/apigen-theme/src/config.neon'",
"checkstyle": "vendor/bin/phpcs --standard=PSR2 --report=checkstyle --extensions=php src/ tests/",
"check": [
"@test",
"@checkstyle"
],
"analyze": [
"mkdir -p build/logs",
"vendor/bin/phploc --log-csv build/logs/phploc.csv src/ tests/",
"mkdir -p build/pdepend",
"vendor/bin/pdepend --jdepend-xml=build/logs/jdepend.xml --jdepend-chart=build/pdepend/dependencies.svg --overview-pyramid=build/pdepend/overview-pyramid.svg src/",
"vendor/bin/phpmd src/,tests/ xml phpmd.xml --reportfile build/logs/pmd.xml || true",
"vendor/bin/phpcs --standard=PSR2 --report=checkstyle --report-file=build/logs/checkstyle.xml --extensions=php src/ tests/",
"vendor/bin/phpcpd --log-pmd build/logs/pmd-cpd.xml src/ tests/ || true"
]
}
}