forked from klarna/kco_rest_php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
47 lines (47 loc) · 1.7 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
{
"name": "mage2pro/klarna-sdk-v3",
"version": "2.2.3",
"description": "Klarna Checkout PHP SDK",
"homepage": "http://developers.klarna.com",
"license": "Apache-2.0",
"type": "library",
"authors": [
{
"name": "Klarna AB",
"email": "integration@klarna.com"
}
],
"autoload": {
"psr-4": {
"": "src/"
}
},
"minimum-stability": "stable",
"require": {
"php": ">=5.4.0",
"guzzlehttp/guzzle": "*"
},
"require-dev": {
"phpunit/phpunit": "4.2.*",
"squizlabs/php_codesniffer": "1.5.*",
"phpmd/phpmd": "2.1.*",
"phploc/phploc": "2.0.*",
"sebastian/phpcpd": "2.0.*",
"satooshi/php-coveralls": "0.6.*",
"apigen/apigen": "4.0.*",
"klarna/apigen-theme": "~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'",
"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"
]
}
}