-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
86 lines (86 loc) · 2.52 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
{
"name": "ebln/psr7-symfony1-adapter",
"description": "Partial PSR-7 Adapters for Symfony 1.5",
"license": "MIT",
"keywords": [
"symfony1",
"http-message",
"http",
"message",
"psr-7"
],
"authors": [
{
"name": "ebln",
"email": "[email protected]"
}
],
"require": {
"php": "^7.4 || ^8.0",
"guzzlehttp/psr7": "^2.4.5",
"psr/clock": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.1 || ^2.0",
"webmozart/assert": "^1.11"
},
"require-dev": {
"composer/package-versions-deprecated": "^1.11",
"ergebnis/composer-normalize": "^2.28",
"php-http/psr7-integration-tests": "^1.3",
"phpmd/phpmd": "^2.13",
"phpstan/phpstan": "^1.11",
"phpstan/phpstan-webmozart-assert": "^1.2",
"phpunit/phpunit": "^9.6",
"roave/security-advisories": "dev-latest",
"vimeo/psalm": "^5.13"
},
"replace": {
"brnc/psr7-symfony1-adapter": "1.6.0"
},
"autoload": {
"psr-4": {
"brnc\\Symfony1\\Message\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"brnc\\Tests\\Symfony1\\Message\\": "tests/"
},
"files": [
"mock/sfWebRequest.php",
"mock/sfWebResponse.php",
"mock/sfEventDispatcher.php",
"mock/sfEvent.php"
]
},
"archive": {
"exclude": [
"vendor/*",
"tests/",
"mock/",
".*",
"phpunit.xml",
"coverage/",
".provision/cache"
]
},
"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 --show-info=true",
"phpstan analyse",
"phpmd src,tests ansi naming # cleancode,codesize,controversial,design,unusedcode",
"@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"
}
}