-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
91 lines (91 loc) · 3.41 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
90
91
{
"name": "ingenioz-it/router",
"description": "A PHP router",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "IngeniozIT",
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=8.2",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "*",
"squizlabs/php_codesniffer": "*",
"phpstan/phpstan": "*",
"vimeo/psalm": "*",
"phan/phan": "*",
"infection/infection": "*",
"phpmd/phpmd": "*",
"rector/rector": "*",
"ingenioz-it/http-message": "*",
"ingenioz-it/edict": "*"
},
"autoload": {
"psr-4": {
"IngeniozIT\\Router\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"IngeniozIT\\Router\\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:refactor": "vendor/bin/rector process --config ./quality/rector.php",
"quality:refactor-dry": "vendor/bin/rector process --config ./quality/rector.php --dry-run",
"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 -j$(nproc) --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:refactor": "Refactor code with Rector",
"quality:refactor-dry": "Dry-run Rector",
"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",
"quality:phpmd": "Run PHP Mess Detector",
"fulltest": "Run all tests"
},
"config": {
"allow-plugins": {
"infection/extension-installer": true
}
}
}