-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
36 lines (36 loc) · 1.4 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
{
"name": "afterpay-global/afterpay-sdk-php",
"license": "Apache-2.0",
"description": "Official Afterpay SDK for PHP",
"version": "1.8.0",
"authors": [
{
"name": "Afterpay",
"homepage": "https://www.afterpay.com"
}
],
"autoload": {
"psr-4": {
"Afterpay\\SDK\\": [ "src" ]
}
},
"autoload-dev": {
"psr-4": {
"Afterpay\\SDK\\Test\\": [ "test" ]
}
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.5",
"phpunit/phpunit": "^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
},
"scripts": {
"test": "./vendor/bin/phpunit --colors=always ./test",
"test-unit": "./vendor/bin/phpunit --colors=always ./test/Unit",
"test-service": "./vendor/bin/phpunit --colors=always ./test/Service",
"test-network": "./vendor/bin/phpunit --colors=always ./test/Network",
"test-integration": "./vendor/bin/phpunit --colors=always ./test/Integration",
"test-cbt": "./vendor/bin/phpunit --colors=always ./test/Integration --filter GetPaymentByOrderIdIntegrationTest::testOk200",
"lint": "./vendor/bin/phpcs --standard=PSR12 --error-severity=1 --warning-severity=6 ./src ./test ./sample",
"lint-autofix": "./vendor/bin/phpcbf --standard=PSR12 --error-severity=1 --warning-severity=6 ./src ./test ./sample; if [ $? -eq 1 ]; then exit 0; fi"
}
}