-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
89 lines (89 loc) · 3.27 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
{
"name": "ingenioz-it/http-message",
"description": "Implementation of PSR-7 HTTP Message Interfaces and PSR-17 HTTP Factories",
"keywords": ["PSR", "PSR-7", "Http", "Message", "PSR-17", "Factories", "Factory"],
"type": "project",
"license": "MIT",
"authors": [
{
"name": "IngeniozIT",
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"provide": {
"psr/http-message-implementation": "2.0",
"psr/http-factory-implementation": "1.0"
},
"require": {
"php": ">=8.2",
"psr/http-message": "^2.0",
"psr/http-factory": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "*",
"squizlabs/php_codesniffer": "*",
"phpstan/phpstan": "*",
"vimeo/psalm": "*",
"phan/phan": "*",
"infection/infection": "*",
"phpmd/phpmd": "*"
},
"autoload": {
"psr-4": {
"IngeniozIT\\Http\\Message\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"IngeniozIT\\Http\\Message\\Tests\\": "tests/"
}
},
"scripts": {
"test": "vendor/bin/phpunit -c ./quality/phpunit.xml.dist",
"testdox": "@test --testdox",
"test-xdebug": "XDEBUG_MODE=coverage vendor/bin/phpunit -c ./quality/phpunit.xml.dist",
"coverage-html": "@test-xdebug --coverage-html ./doc",
"coverage-xml": "@test-xdebug --coverage-clover ./tmp/coverage.xml",
"quality:clean": "vendor/bin/phpcbf --standard=./quality/phpcs.xml.dist",
"quality:phpcs": "vendor/bin/phpcs --standard=./quality/phpcs.xml.dist",
"quality:phpstan": "vendor/bin/phpstan analyze -c ./quality/phpstan.neon.dist",
"quality:psalm": "vendor/bin/psalm --no-cache --config ./quality/psalm.xml.dist",
"quality:phan": "vendor/bin/phan --config-file ./quality/phan.php",
"quality:phan-silent": "vendor/bin/phan --no-progress-bar --config-file ./quality/phan.php",
"quality:infection": "vendor/bin/infection --configuration=./quality/infection.json.dist",
"quality:phpmd": "vendor/bin/phpmd src/,tests/ text quality/phpmd.xml.dist",
"fulltest": [
"@test",
"@quality:infection",
"@quality:phpcs",
"@quality:phpmd",
"@quality:phpstan",
"@quality:psalm",
"@quality:phan",
"echo 'OK'"
]
},
"scripts-descriptions": {
"test": "Run unit tests",
"testdox": "Run unit tests with testdox output",
"test-xdebug": "Run unit tests with Xdebug enabled",
"coverage-html": "Generate HTML code coverage report",
"coverage-xml": "Generate XML code coverage report",
"quality:clean": "Clean code with PHP Code Beautifier and Fixer",
"quality:phpcs": "Run PHP Code Sniffer",
"quality:phpstan": "Run PHPStan",
"quality:psalm": "Run Psalm",
"quality:phan": "Run Phan",
"quality:phan-silent": "Run Phan without progress bar",
"quality:infection": "Run Infection",
"fulltest": "Run all tests",
"quality:phpmd": "Run PHP Mess Detector"
},
"config": {
"allow-plugins": {
"infection/extension-installer": true
}
}
}