generated from ghostwriter/wip
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
113 lines (113 loc) · 3.77 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
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "ghostwriter/http",
"description": "HTTP Client and Server abstraction for PHP.",
"license": "BSD-3-Clause",
"type": "library",
"keywords": [
"ghostwriter",
"http"
],
"authors": [
{
"name": "Nathanael Esayeas",
"email": "nathanael.esayeas@protonmail.com",
"homepage": "https://github.com/ghostwriter",
"role": "Developer"
}
],
"homepage": "https://github.com/ghostwriter/http",
"support": {
"issues": "https://github.com/ghostwriter/http/issues",
"forum": "https://github.com/ghostwriter/http/discussions",
"source": "https://github.com/ghostwriter/http",
"docs": "https://github.com/ghostwriter/http",
"rss": "https://github.com/ghostwriter/http/releases.atom",
"security": "https://github.com/ghostwriter/http/security/advisories/new"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/ghostwriter"
}
],
"_comment": "#BlackLivesMatter",
"require": {
"php": ">=8.3",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*"
},
"require-dev": {
"ghostwriter/coding-standard": "dev-main",
"ghostwriter/psalm-plugin": "^0.2.0"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Ghostwriter\\Http\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Ghostwriter\\HttpTests\\": "tests",
"Tests\\": "tests"
}
},
"config": {
"allow-plugins": {
"ghostwriter/coding-standard": true
},
"classmap-authoritative": false,
"discard-changes": true,
"optimize-autoloader": true,
"platform": {
"php": "8.3.999"
},
"preferred-install": "dist",
"prepend-autoloader": true,
"process-timeout": 5000,
"sort-packages": true,
"use-parent-dir": false
},
"scripts": {
"bin_ecs": "ecs check --clear-cache --no-interaction",
"bin_infection": "infection --ansi --show-mutations --threads=max --min-msi=0 --min-covered-msi=0",
"bin_phive": "phive",
"bin_phpunit": "phpunit --do-not-cache-result --colors=always",
"bin_psalm": "psalm --no-cache",
"bin_rector": "rector process --no-ansi --clear-cache",
"cache:clear": "rm -rf ./.cache/*",
"check": [
"@composer validate",
"@ecs",
"@test"
],
"dev": [
"@cache:clear",
"@check",
"@psalm:update",
"@psalm:security",
"@psalm:dry-run"
],
"ecs": "@bin_ecs --fix",
"git:submodule:update": "git submodule update --depth=1 --init --recursive --recommend-shallow --remote",
"infection": "@bin_infection",
"phpunit": "@bin_phpunit",
"phpunit:migrate": "@bin_phpunit --migrate-configuration",
"psalm": "@bin_psalm --show-info=true",
"psalm:alter": "@bin_psalm --alter --allow-backwards-incompatible-changes=false --safe-types",
"psalm:baseline": "@psalm --no-diff --set-baseline=psalm-baseline.xml",
"psalm:dry-run": "@psalm:alter --issues=all --dry-run",
"psalm:fix": "@psalm:alter --issues=UnnecessaryVarAnnotation,MissingPureAnnotation,MissingImmutableAnnotation",
"psalm:security": "@psalm --no-diff --taint-analysis",
"psalm:shepherd": "@psalm --no-diff --shepherd --stats",
"psalm:update": "@psalm --no-diff --update-baseline=psalm-baseline.xml",
"rector": "@bin_rector",
"test": [
"@phpunit",
"@psalm:shepherd",
"@infection"
]
}
}