generated from ghostwriter/wip
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
142 lines (142 loc) · 4.91 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "ghostwriter/revamp",
"description": "Rector upgrade rules for PHP frameworks, libraries, and tools.",
"license": "BSD-3-Clause",
"type": "rector-extension",
"keywords": [
"ghostwriter",
"revamp",
"php",
"rector",
"rector-extension"
],
"authors": [
{
"name": "Nathanael Esayeas",
"email": "nathanael.esayeas@protonmail.com",
"homepage": "https://github.com/ghostwriter",
"role": "Developer"
}
],
"homepage": "https://github.com/ghostwriter/revamp",
"support": {
"issues": "https://github.com/ghostwriter/revamp/issues",
"source": "https://github.com/ghostwriter/revamp",
"docs": "https://github.com/ghostwriter/revamp",
"rss": "https://github.com/ghostwriter/revamp/releases.atom",
"security": "https://github.com/ghostwriter/revamp/security/advisories/new"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/ghostwriter"
}
],
"_comment": [
"#BlackLivesMatter",
"#FreePalestine",
"#StandWithUkraine"
],
"require": {
"php": ">=8.3",
"ext-mbstring": "*",
"composer-plugin-api": "^2.6.0",
"composer-runtime-api": "^2.2.2",
"rector/rector": "^2.0 || dev-main"
},
"require-dev": {
"ghostwriter/case-converter": "^1.0.0",
"ghostwriter/clock": "^3.0.0",
"ghostwriter/coding-standard": "dev-main",
"ghostwriter/collection": "^2.0.0",
"ghostwriter/config": "^0.4.1",
"ghostwriter/container": "^4.0.3",
"ghostwriter/event-dispatcher": "^5.0.2",
"ghostwriter/filesystem": "^0.1.1",
"ghostwriter/json": "^3.0.0",
"ghostwriter/option": "^1.5.1",
"ghostwriter/plex": "^0.1.3",
"ghostwriter/result": "^1.3.0",
"ghostwriter/shell": "^0.1.0",
"ghostwriter/uuid": "^1.0.1",
"mockery/mockery": "^1.6 || ^2.0",
"phpunit/phpunit": "^9.5 || ^10.5 || ^11.4 || ^12.0",
"psr/container": "^1.1 || ^2.0"
},
"conflict": {
"rector/rector": "<1.2"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Ghostwriter\\Revamp\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Ghostwriter\\RevampTests\\": "tests/unit/"
},
"exclude-from-classmap": [
"tests/fixture/"
]
},
"config": {
"allow-plugins": {
"ghostwriter/coding-standard": true,
"ghostwriter/handrail": true
},
"classmap-authoritative": false,
"discard-changes": true,
"optimize-autoloader": true,
"platform": {
"php": "8.3.999"
},
"preferred-install": "dist",
"process-timeout": 5000,
"sort-packages": true,
"use-parent-dir": false
},
"scripts": {
"bin_ecs": "ecs check --clear-cache --no-interaction",
"bin_infection": "vendor/ghostwriter/coding-standard/tools/infection --ansi --show-mutations --threads=max --min-msi=0 --min-covered-msi=0",
"bin_phive": "vendor/ghostwriter/coding-standard/tools/phive",
"bin_phpunit": "vendor/bin/phpunit --do-not-cache-result --colors=always",
"bin_psalm": "vendor/ghostwriter/coding-standard/tools/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"
],
"docs": "vendor/bin/rule-doc-generator generate src --output-file docs/README.md --ansi",
"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",
"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",
"rector:dry-run": "@rector --dry-run",
"test": [
"@phpunit",
"@psalm:shepherd",
"@infection"
]
}
}