-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
33 lines (33 loc) · 1.09 KB
/
Copy pathcomposer.json
File metadata and controls
33 lines (33 loc) · 1.09 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
{
"name": "discord-php/phpdoc-tool",
"description": "phpDocumentor, patched to read and print the ?T|null types the DiscordPHP family documents its API surface with.",
"type": "project",
"license": "MIT",
"require": {
"php": ">=8.1.2",
"phpdocumentor/phpdocumentor": "^3.10",
"league/uri": "~7.5.0",
"cweagans/composer-patches": "^1.7"
},
"config": {
"platform": {
"php": "8.1.2"
},
"allow-plugins": {
"cweagans/composer-patches": true,
"symfony/flex": false
},
"sort-packages": true
},
"extra": {
"composer-exit-on-patch-failure": true,
"patches": {
"phpstan/phpdoc-parser": {
"Read the | that follows a ? so ?T|null is a type rather than an error": "patches/phpdoc-parser-nullable-union.patch"
},
"phpdocumentor/phpdocumentor": {
"Print a nullable type as ?T instead of expanding it to T|null": "patches/phpdocumentor-print-nullable-questionmark.patch"
}
}
}
}