Skip to content

Commit 31bd46e

Browse files
authored
Concurrency stress test (#164)
* docs: do not explicitly set content type when using formdata * test: add stress test scripts * docs: stress test closes #7 * docs: show how to abort a request
1 parent bc34736 commit 31bd46e

6 files changed

Lines changed: 705 additions & 58 deletions

File tree

.codacy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
exclude_paths:
2+
- ".github/**"
3+
- "example/**"
4+
- "test/**"
5+

composer.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "MIT",
66

77
"require": {
8-
"php": ">=8.3",
8+
"php": ">=8.4",
99
"ext-curl": "*",
1010
"ext-json": "*",
1111
"phpgt/async": "^1.0",
@@ -42,6 +42,20 @@
4242
}
4343
],
4444

45+
"scripts": {
46+
"phpunit": "vendor/bin/phpunit --configuration phpunit.xml",
47+
"phpunit:coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --configuration phpunit.xml --coverage-text",
48+
"phpstan": "vendor/bin/phpstan analyse --level 6 src",
49+
"phpcs": "vendor/bin/phpcs src --standard=phpcs.xml",
50+
"phpmd": "vendor/bin/phpmd src/ text phpmd.xml",
51+
"test": [
52+
"@phpunit",
53+
"@phpstan",
54+
"@phpcs",
55+
"@phpmd"
56+
]
57+
},
58+
4559
"keywords": [
4660
"http-client",
4761
"http",

composer.lock

Lines changed: 57 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)