Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
91 lines (91 loc) · 2.22 KB
/
Copy pathcomposer.json
File metadata and controls
91 lines (91 loc) · 2.22 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
{
"name": "errata/errata",
"description": "Exceptional error handler for JSON APIs",
"license": "MIT",
"type": "library",
"keywords": [
"api",
"api-problem",
"error",
"error-handler",
"error-handling",
"exception",
"exception-handler",
"http",
"json",
"middleware",
"problem",
"problem-details",
"problem-json",
"psr-15",
"psr-7",
"rfc9457",
"throwable"
],
"authors": [
{
"name": "Woody Gilk",
"email": "woody.gilk@gmail.com"
}
],
"require": {
"php": "^8.4",
"composer-runtime-api": "^2.0",
"php-standard-library/dict": "^6.0",
"php-standard-library/filesystem": "^6.0",
"php-standard-library/json": "^6.0",
"php-standard-library/str": "^6.0",
"php-standard-library/vec": "^6.0",
"psr/http-factory": "^1.0",
"psr/http-server-middleware": "^1.0",
"psr/log": "^2.0 || ^3.0"
},
"require-dev": {
"captainhook/captainhook": "^5.29",
"captainhook/hook-installer": "^1.0",
"carthage-software/mago": "^1.50",
"nyholm/psr7": "^1.8",
"phpunit/phpunit": "^13.3",
"rregeer/phpunit-coverage-check": "^0.3.1"
},
"prefer-stable": true,
"autoload": {
"psr-4": {
"Errata\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Errata\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"captainhook/hook-installer": true
},
"sort-packages": true
},
"scripts": {
"analyze": "mago analyze",
"check": "mago format --check",
"coverage": "coverage-check build/phpunit/clover.xml 100",
"fix": [
"mago lint --fix",
"mago analyze --fix",
"mago format"
],
"format": "mago format",
"lint": "mago lint",
"phpunit": "phpunit",
"test": [
"@phpunit",
"@coverage"
],
"verify": [
"@check",
"@lint",
"@analyze",
"@test"
]
}
}