-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
35 lines (35 loc) · 1.01 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
{
"name": "pmjones/cast-route",
"description": "A wrapper for FastRoute to typecast route variables.",
"type": "library",
"license": "MIT",
"require": {
"php": ">=8.1",
"nikic/fast-route": "^1.0"
},
"require-dev": {
"pds/composer-script-names": "^1.0",
"pds/skeleton": "^1.0",
"phpunit/phpunit": "^10.5",
"phpstan/phpstan": "^1.10",
"pmjones/php-styler": "^0.14.0"
},
"autoload": {
"psr-4": {
"CastRoute\\": "./src"
}
},
"autoload-dev": {
"psr-4": {
"CastRoute\\": "./tests"
}
},
"scripts": {
"analyze": "./vendor/bin/phpstan analyze -c phpstan.neon",
"check": "composer test && composer analyze && composer cs-check",
"cs-check": "./vendor/bin/php-styler check",
"cs-fix": "./vendor/bin/php-styler apply",
"test": "./vendor/bin/phpunit",
"test-coverage": "./vendor/bin/phpunit --coverage-html=./tmp/coverage"
}
}