forked from gentics/mesh-php-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
80 lines (80 loc) · 1.82 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "gentics/mesh-php-client",
"type": "library",
"description": "Gentics Mesh PHP Client Library",
"license": "Apache-2.0",
"keywords": [
"mesh",
"rest-client",
"sdk"
],
"autoload": {
"psr-4": {
"Gentics\\Mesh\\Client\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Gentics\\Mesh\\ClientTest\\": "tests/"
}
},
"require": {
"php": ">=7.0",
"ext-json": "*",
"guzzlehttp/guzzle": "^6.0",
"jenssegers/proxy": "dev-master"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "dev-master",
"friendsofphp/php-cs-fixer": "^2.13@dev",
"overtrue/phplint": "dev-master",
"phpunit/phpunit": "^6",
"sensiolabs/security-checker": "^5.0@dev",
"squizlabs/php_codesniffer": "^3.0@dev"
},
"extra" : {
"hooks": {
"pre-commit": "composer pre-commit"
}
},
"config": {
"sort-packages": true
},
"minimum-stability": "dev",
"scripts": {
"post-install-cmd": "./vendor/bin/cghooks add --ignore-lock",
"post-update-cmd": "./vendor/bin/cghooks update",
"pre-commit": [
"@test"
],
"lint": [
"phplint src/",
"php-cs-fixer fix --dry-run --verbose",
"phpcs src/"
],
"securitycheck": [
"security-checker security:check composer.lock"
],
"phpunit": [
"phpunit tests/"
],
"test": [
"@composer validate",
"@lint",
"@phpunit",
"@securitycheck"
],
"fixcode": [
"php-cs-fixer fix"
],
"build": [
"@composer install",
"mkdir -p .reports",
"./vendor/bin/phplint src/",
"./vendor/bin/php-cs-fixer fix --dry-run --format=junit > .reports/php-cs-fixer.xml || true",
"./vendor/bin/phpcs --warning-severity=6 --report=junit --report-file=.reports/phpcs.xml src/ || true",
"./vendor/bin/phpunit --log-junit=.reports/phpunit.xml src/ || true",
"./vendor/bin/security-checker security:check composer.lock"
]
}
}