-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
39 lines (39 loc) · 1.21 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
{
"name": "coding/sdk",
"description": "CODING.net SDK for PHP",
"type": "library",
"require": {
"php": ">=7.4",
"ext-json": "*",
"guzzlehttp/guzzle": "^7.4",
"illuminate/validation": "^8.67"
},
"require-dev": {
"fakerphp/faker": "^1.16",
"mockery/mockery": "^1.4",
"phpmd/phpmd": "^2.10",
"phpunit/phpunit": "^9.5",
"slevomat/coding-standard": "^7.0",
"squizlabs/php_codesniffer": "^3.6"
},
"license": "Apache-2.0",
"autoload": {
"psr-4": { "Coding\\": "src/" }
},
"autoload-dev": {
"psr-4": { "Tests\\": "tests/" }
},
"scripts": {
"post-install-cmd": [
"php -r \"if (is_dir('.git/hooks/')) {copy('.git-pre-commit', '.git/hooks/pre-commit'); chmod('.git/hooks/pre-commit', 0755);}\""
],
"lint": "phpcs --standard=phpcs.xml . && phpmd . text phpmd.xml",
"lint-fix": "phpcbf --standard=phpcs.xml .",
"test": "XDEBUG_MODE=coverage phpunit --coverage-clover coverage.xml --coverage-filter src/ tests/Unit"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}