-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
83 lines (83 loc) · 2.56 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
{
"name": "neur0toxine/pock",
"description": "PSR-18 compatible HTTP mock library",
"type": "library",
"license": "MIT",
"homepage": "https://github.com/Neur0toxine/pock",
"keywords": [
"php-http",
"http",
"symfony",
"mock",
"psr-7",
"psr-18",
"mock"
],
"authors": [
{
"name": "Neur0toxine",
"email": "pashok9825@gmail.com"
}
],
"autoload": {
"psr-4": {
"Pock\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Pock\\Tests\\": "tests/src/",
"Pock\\TestUtils\\": "tests/utils/"
}
},
"require": {
"php": ">=7.2.0",
"ext-json": "*",
"psr/http-client": "^1.0",
"psr/http-message": "^1.0 || ^2.0",
"php-http/httplug": "^1.0 || ^2.0",
"nyholm/psr7": "^1.4",
"riverline/multipart-parser": "^2.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.6",
"phpmd/phpmd": "^2.12",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"phpcompatibility/php-compatibility": "^9.3",
"phpstan/phpstan": "^1.5",
"jms/serializer": "^2 | ^3.17",
"symfony/phpunit-bridge": "^5.2",
"symfony/serializer": "^5.2",
"symfony/property-access": "^5.2",
"php-http/multipart-stream-builder": "^1.2",
"symfony/http-client": "^5.3"
},
"provide": {
"psr/http-client-implementation": "1.0",
"php-http/client-implementation": "1.0",
"php-http/async-client-implementation": "1.0"
},
"scripts": {
"phpunit": "./vendor/bin/simple-phpunit -c phpunit.xml.dist --coverage-text",
"phpunit-ci": "@php -dpcov.enabled=1 -dpcov.directory=. -dpcov.exclude=\"~vendor~\" ./vendor/bin/simple-phpunit --teamcity -c phpunit.xml.dist",
"phpmd": "./vendor/bin/phpmd src text ./phpmd.xml",
"phpcs": "./vendor/bin/phpcs -p src --runtime-set testVersion 7.1-8.0 && ./vendor/bin/phpcs -p tests --runtime-set testVersion 7.1-8.0 --warning-severity=0",
"phpstan": "./vendor/bin/phpstan analyse -c phpstan.neon src --memory-limit=-1",
"lint:fix": "./vendor/bin/phpcbf src",
"lint": [
"@phpcs",
"@phpmd",
"@phpstan"
],
"verify": [
"@lint",
"@phpunit"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true
}
}
}