Skip to content

Commit a4d4004

Browse files
committed
feat: adds HTTPlug support
1 parent 4d8cafe commit a4d4004

File tree

11 files changed

+1430
-56
lines changed

11 files changed

+1430
-56
lines changed

composer.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,18 @@
2222
"require": {
2323
"php": ">=7.4",
2424
"ext-json": "*",
25+
"php-http/discovery": "^1.0",
26+
"php-http/httplug": "^2.0",
27+
"php-http/message-factory": "^1.0",
2528
"psr/http-client": "^1.0",
2629
"psr/http-factory": "^1.0",
2730
"psr/http-message": "^1.0 || ^2.0"
2831
},
2932
"require-dev": {
3033
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
34+
"guzzlehttp/psr7": "^1.0 || ^2.0",
35+
"php-http/curl-client": "^2.0",
36+
"php-http/mock-client": "^1.0",
3137
"phpstan/phpstan": "~2.1",
3238
"phpunit/phpunit": "^9.5 || ^10.0",
3339
"squizlabs/php_codesniffer": "^3.7"
@@ -49,7 +55,8 @@
4955
},
5056
"config": {
5157
"allow-plugins": {
52-
"dealerdirect/phpcodesniffer-composer-installer": true
58+
"dealerdirect/phpcodesniffer-composer-installer": true,
59+
"php-http/discovery": true
5360
},
5461
"optimize-autoloader": true,
5562
"platform": {
@@ -64,7 +71,7 @@
6471
],
6572
"phpcbf": "phpcbf",
6673
"phpcs": "phpcs",
67-
"phpstan": "phpstan analyze",
74+
"phpstan": "phpstan analyze --memory-limit=256M",
6875
"phpunit": "phpunit"
6976
}
7077
}

0 commit comments

Comments
 (0)