Skip to content

Commit 3973b9e

Browse files
committed
Initial commit
0 parents  commit 3973b9e

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

composer.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"name": "micro/plugin-http-exceptions",
3+
"description": "Micro Framework: Exception response builder.",
4+
"license": "MIT",
5+
"type": "micro-plugin",
6+
"authors": [
7+
{
8+
"name": "Stanislau Komar",
9+
"email": "kost@micro-php.net"
10+
}
11+
],
12+
"require": {
13+
"micro/plugin-http-core": "^1"
14+
},
15+
"require-dev": {
16+
"ergebnis/composer-normalize": "^2.29",
17+
"friendsofphp/php-cs-fixer": "^3.13",
18+
"phpstan/phpstan": "^1.9",
19+
"phpunit/php-code-coverage": "^9.2",
20+
"phpunit/phpunit": "^9.5",
21+
"vimeo/psalm": "^5.2"
22+
},
23+
"autoload": {
24+
"psr-4": {
25+
"Micro\\Plugin\\Http\\": "src/"
26+
}
27+
},
28+
"autoload-dev": {
29+
"psr-4": {
30+
"Micro\\Plugin\\Http\\Test\\Unit\\": "tests/Unit"
31+
}
32+
},
33+
"config": {
34+
"allow-plugins": {
35+
"ergebnis/composer-normalize": true
36+
},
37+
"sort-packages": true
38+
},
39+
"scripts": {
40+
"coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-text",
41+
"php-cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --verbose --using-cache=no",
42+
"php-cs-try": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --verbose --dry-run --using-cache=no",
43+
"phpstan": "./vendor/bin/phpstan analyze --no-progress",
44+
"phpunit": "./vendor/bin/phpunit",
45+
"psalm": "./vendor/bin/psalm --no-progress --show-info=true",
46+
"statics": [
47+
"@phpstan",
48+
"@psalm",
49+
"@php-cs-try"
50+
],
51+
"test": [
52+
"@statics",
53+
"composer validate --strict",
54+
"composer normalize",
55+
"@coverage"
56+
]
57+
}
58+
}

0 commit comments

Comments
 (0)