forked from paytrail/paytrail-php-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
50 lines (50 loc) · 1.77 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
{
"name": "paytrail/paytrail-php-sdk",
"description": "PHP Software Development Kit for Paytrail payment service",
"authors": [
{
"name": "Joonas Loueranta",
"email": "[email protected]",
"homepage": "https://github.com/loueranta",
"role": "Manager"
}
],
"keywords": [
"paytrail", "payment service provider"
],
"license": "MIT",
"require": {
"php": ">=7.3",
"ext-json": "*",
"ext-curl": "*",
"ext-mbstring": "*"
},
"require-dev": {
"phpunit/phpunit": "^10.0 || ^9.0",
"squizlabs/php_codesniffer": "^3.6",
"phpcompatibility/php-compatibility": "^9.3",
"phpmd/phpmd": "^2.10",
"phpstan/phpstan": "1.9.14",
"mockery/mockery": "^1.5",
"guzzlehttp/guzzle": "^7.0|^6.0"
},
"autoload": {
"psr-4": {
"Paytrail\\SDK\\": "src/",
"Tests\\": "tests/"
}
},
"scripts": {
"analyze": [
"vendor/bin/phpstan"
],
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility",
"post-update-cmd" : "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility",
"test": "\"vendor/bin/phpunit\"",
"test-coverage": "\"vendor/bin/phpunit\" --coverage-html test-reports/html --coverage-clover test-reports/clover.xml --log-junit test-reports/junit.xml --coverage-text --colors=never --whitelist src tests",
"lint": [
"\"vendor/bin/phpmd\" src,tests text unusedcode || RETVAL=1",
"\"vendor/bin/phpcs\" src tests --extensions=\"php\" --encoding=\"UTF-8\" --standard=\"PSR12\""
]
}
}