forked from jonathanmaron/ctw-http
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
43 lines (43 loc) · 1.3 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
{
"name": "ctw/ctw-http",
"type": "library",
"description": "This package provides utility classes and constants to facilitate common operations of PSR-7 and a group of exceptions which represent HTTP status codes.",
"license": "BSD-3-Clause",
"require": {
"php": "^7.4 || ^8.0",
"fig/http-message-util": "^1.1"
},
"require-dev": {
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-strict-rules": "^0.12",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.5",
"symfony/var-dumper": "^5.2"
},
"config": {
"sort-packages": true
},
"autoload": {
"psr-4": {
"Ctw\\Http\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"CtwTest\\Http\\": "test"
}
},
"scripts": {
"phpcbf": "vendor/bin/phpcbf",
"phpcs": "vendor/bin/phpcs",
"phpstan": "rm -fr build/phpstan && mkdir -p build/phpstan && vendor/bin/phpstan analyse --error-format=raw --configuration=phpstan.neon | tee build/phpstan/output.txt",
"qa": [
"@phpcbf",
"@phpcs",
"@phpstan",
"@test"
],
"test": "export XDEBUG_MODE=coverage && vendor/bin/phpunit"
}
}