-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
103 lines (103 loc) · 3.24 KB
/
composer.json
File metadata and controls
103 lines (103 loc) · 3.24 KB
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
101
102
103
{
"name": "xrdebug/wordpress",
"type": "wordpress-plugin",
"description": "Debug WordPress with xrDebug",
"homepage": "https://github.com/xrdebug/wordpress",
"keywords": [
"chevere",
"dump",
"debug",
"debugging",
"xrdebug"
],
"license": "MIT",
"authors": [
{
"name": "Rodolfo Berrios",
"email": "rodolfo@chevere.org",
"homepage": "https://rodolfoberrios.com"
}
],
"require": {
"php": "^8.1",
"automattic/jetpack-autoloader": "^2.11",
"doctrine/sql-formatter": "^1.4",
"xrdebug/php": "^3.0.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8.2",
"composer/installers": "^1.12",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^9.5",
"symplify/easy-coding-standard": "^11.1",
"szepeviktor/phpstan-wordpress": "^1.3"
},
"autoload": {
"files": [
"src/functions.php"
],
"psr-4": {
"Chevere\\xrDebug\\WordPress\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Chevere\\Tests\\": "tests/"
}
},
"config": {
"platform": {
"php": "8.1.28"
},
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"automattic/jetpack-autoloader": true,
"bamarni/composer-bin-plugin": true,
"composer/installers": true,
"phpstan/extension-installer": false
},
"extra": {
"bamarni-bin": {
"bin-links": false,
"target-directory": "vendor-bin",
"forward-command": 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"
},
"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"
}
}