-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
58 lines (58 loc) · 1.79 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
{
"name": "ctw/ctw-http",
"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",
"type": "library",
"require": {
"php": "^8.3",
"fig/http-message-util": "^1.1"
},
"require-dev": {
"ctw/ctw-qa": "^4.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.7",
"phpstan/phpstan-phpunit": "^1.1",
"phpstan/phpstan-strict-rules": "^1.3",
"phpunit/phpunit": "^10.0",
"squizlabs/php_codesniffer": "^3.6",
"symfony/var-dumper": "^7.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Ctw\\Http\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"CtwTest\\Http\\": "test"
}
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
},
"sort-packages": true
},
"scripts": {
"ecs": "php vendor/bin/ecs --clear-cache",
"ecs-fix": "php vendor/bin/ecs --clear-cache --fix",
"phpstan": "d=build/phpstan ; rm -fr $d ; mkdir -p $d ; php vendor/bin/phpstan analyse --error-format=raw | tee $d/output.txt",
"phpstan-baseline": "php vendor/bin/phpstan analyse --generate-baseline",
"qa": [
"@rector",
"@ecs",
"@phpstan"
],
"qa-fix": [
"@rector-fix",
"@ecs-fix",
"@phpstan",
"@test"
],
"rector": "php vendor/bin/rector process --clear-cache --dry-run",
"rector-fix": "php vendor/bin/rector process --clear-cache",
"test": "php vendor/bin/phpunit"
}
}