-
Notifications
You must be signed in to change notification settings - Fork 6
/
composer.json
93 lines (93 loc) · 2.99 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
{
"name": "xrdebug/php",
"description": "PHP client library for xrDebug",
"homepage": "https://github.com/xrdebug/php",
"keywords": [
"chevere",
"dump",
"debug",
"debugging",
"xrdebug"
],
"license": "Apache-2.0",
"authors": [
{
"name": "Rodolfo Berrios",
"email": "[email protected]",
"homepage": "https://rodolfoberrios.com"
}
],
"require": {
"php": "^8.1",
"ext-curl": "*",
"ext-json": "*",
"chevere/filesystem": "^1.0.0",
"chevere/message": "^1.0.0",
"chevere/standard": "^1.0.1",
"chevere/throwable-handler": "^1.0.2",
"chevere/trace": "^2.0.0",
"chevere/var-dump": "^2.0.1",
"phpseclib/phpseclib": "~3.0"
},
"require-dev": {
"dg/bypass-finals": "^1.4",
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^9.5",
"symplify/easy-coding-standard": "^11.1"
},
"autoload": {
"files": [
"src/functions.php"
],
"psr-4": {
"Chevere\\xrDebug\\PHP\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Chevere\\Tests\\": "tests/"
}
},
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"scripts": {
"all": [
"composer phpstan",
"composer test",
"composer test-coverage",
"composer infection -- --skip-initial-tests --coverage=build/logs"
],
"infection": [
"Composer\\Config::disableProcessTimeout",
"infection --only-covered -j10"
],
"infection-filter": "sh -c 'sh -c \"composer infection -- --filter=$0 --test-framework-options=--filter=$0\"' $1",
"phpstan": "vendor/bin/phpstan analyze src/ --memory-limit 512M --level 9",
"test": [
"Composer\\Config::disableProcessTimeout",
"vendor/bin/phpunit -c phpunit.xml"
],
"test-coverage": [
"Composer\\Config::disableProcessTimeout",
"vendor/bin/phpunit -c phpunit-coverage.xml"
],
"cs-update": "mkdir -p .ecs && cd .ecs && curl -O https://raw.githubusercontent.com/chevere/code-style/main/.ecs/ecs-chevere.php",
"cs-fix": "vendor/bin/ecs --config='.ecs/ecs.php' check src --fix",
"open-coverage": "open build/logs/html/index.html",
"open-infection": "open build/logs/html/infection.html"
},
"scripts-descriptions": {
"all": "Runs all checks",
"infection": "Runs infection",
"infection-filter": "Runs infection (filtered)",
"phpstan": "Runs phpstan",
"test": "Run test suite",
"test-coverage": "Run test suite (coverage)",
"cs-update": "Update Chevere code style definition",
"cs-fix": "Update Chevere code style definition",
"open-coverage": "Open code coverage report",
"open-infection": "Open infection report"
}
}