Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
70 lines (70 loc) · 2.05 KB
/
Copy pathcomposer.json
File metadata and controls
70 lines (70 loc) · 2.05 KB
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
{
"name": "ebln/guzzle-openapi-middleware",
"description": "A Guzzle middleware validating against openapi schema using league/openapi-psr7-validator",
"license": "MIT",
"type": "library",
"keywords": [
"guzzle",
"middleware",
"openapi",
"validator"
],
"authors": [
{
"name": "ebln"
}
],
"require": {
"php": "^7.4 || ^8.0 || ^8.1",
"guzzlehttp/promises": "^1.5",
"league/openapi-psr7-validator": "^0.18",
"psr/http-message": "^1.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.28",
"guzzlehttp/guzzle": "^7.3",
"phpmd/phpmd": "^2.12",
"phpstan/phpstan": "^1.8",
"phpunit/phpunit": "^9.5",
"roave/security-advisories": "dev-latest",
"vimeo/psalm": "^4.26"
},
"autoload": {
"psr-4": {
"Ebln\\Guzzle\\OpenApi\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Ebln\\Test\\Guzzle\\OpenApi\\": "tests/"
}
},
"archive": {
"exclude": [
"vendor/*",
"tests/",
".*",
"phpunit.xml.dist",
"coverage/"
]
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
}
},
"scripts": {
"coverage": "XDEBUG_MODE=coverage phpunit --coverage-html coverage --coverage-text --colors=auto && chown -R 1000:1000 coverage",
"quality": [
"composer normalize --dry-run",
"psalm --find-unused-psalm-suppress",
"phpstan analyse",
"phpmd src,tests ansi cleancode,codesize,controversial,design,naming,unusedcode # cleancode,design",
"@style-check",
"@test-unit"
],
"style-check": "php-cs-fixer fix -v --config=.php-cs-fixer.dist.php --using-cache=no --dry-run",
"style-fix": "php-cs-fixer fix -v --config=.php-cs-fixer.dist.php --using-cache=no",
"test-unit": "phpunit --no-coverage --colors=auto"
}
}