-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
100 lines (100 loc) · 2.47 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"type": "library",
"name": "treblle/treblle-php",
"description": "Stay in tune with your APIs",
"homepage": "https://treblle.com/",
"keywords": [
"phpunit",
"treblle",
"api",
"monitoring",
"debuging",
"documentation"
],
"license": "MIT",
"authors": [
{
"name": "Vedran Cindrić",
"email": "[email protected]",
"homepage": "https://treblle.com/",
"role": "Developer"
}
],
"autoload": {
"psr-4": {
"Treblle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\Treblle\\": "tests/"
}
},
"require": {
"php": "^7.4|^8.0",
"beberlei/assert": "^3.3",
"guzzlehttp/guzzle": "^7.4.5|^8.0",
"thecodingmachine/safe": "^1.3.2"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^v3.23.0",
"justinrainbow/json-schema": "^5.2",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/phpstan": "^0.12.99",
"phpstan/phpstan-beberlei-assert": "^0.12.6",
"phpstan/phpstan-phpunit": "^0.12.22",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.11.56",
"thecodingmachine/phpstan-safe-rule": "^1.0"
},
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"security:check": [
"bin/local-php-security-checker"
],
"code-style:fix": [
"PHP_CS_FIXER_FUTURE_MODE=1 php-cs-fixer fix --config='./tools/php-cs-fixer/config.php' --diff --ansi --using-cache=no"
],
"code-style:check": [
"PHP_CS_FIXER_FUTURE_MODE=1 php-cs-fixer fix --config='./tools/php-cs-fixer/config.php' --dry-run --diff --ansi --using-cache=no"
],
"lint:php": [
"parallel-lint src",
"parallel-lint tests"
],
"lint": [
"@lint:php"
],
"rector:check": [
"rector --config='./tools/rector/config.php' --dry-run --ansi --no-progress-bar"
],
"rector:fix": [
"rector --config='./tools/rector/config.php' --ansi --no-progress-bar"
],
"phpstan": [
"phpstan analyse --configuration='./tools/phpstan/config.neon' --ansi --no-progress --memory-limit=3G"
],
"static-analysis": [
"@composer validate",
"@lint",
"@code-style:check",
"@phpstan",
"@rector:check"
],
"phpunit": [
"phpunit --configuration='./tools/phpunit/config.xml' --colors --do-not-cache-result"
],
"tests": [
"@phpunit"
],
"qc": [
"@static-analysis",
"@tests"
]
}
}