Skip to content

Commit 7a929b0

Browse files
pint and update composer.json file
1 parent abe2504 commit 7a929b0

File tree

2 files changed

+65
-53
lines changed

2 files changed

+65
-53
lines changed

composer.json

Lines changed: 63 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,65 @@
11
{
2-
"name": "async-http/async-http",
3-
"description": "🚀 Async, non-blocking HTTP client using PHP streams",
4-
"type": "library",
5-
"license": "MIT",
6-
"autoload": {
7-
"psr-4": {
8-
"Async\\Http\\": "src/Http/"
9-
}
10-
},
11-
"autoload-dev" {
12-
"psr-4": {
13-
"Tests\\": "tests/"
14-
}
15-
},
16-
"require": {
17-
"php": ">=8.1",
18-
"psr/http-client": "^1.0",
19-
"psr/http-message": "^2.0"
20-
},
21-
"require-dev": {
22-
"phpunit/phpunit": "^12.2",
23-
"phpstan/phpstan": "^2.1",
24-
"laravel/pint": "^1.23"
25-
},
26-
"support": {
27-
"issues": "https://github.com/CodeWithSushil/async-http/issues",
28-
"source": "https://github.com/CodeWithSushil/async-http"
29-
},
30-
"authors": [
31-
{
32-
"name": "Sushil Kumar",
33-
"email": "sushilkumbhar77@gmail.com"
34-
}
35-
],
36-
"funding": [
37-
{
38-
"type": "github",
39-
"url": "https://github.com/sponsors/CodeWithSushil"
40-
}
41-
],
42-
"scripts": {
43-
"test": "vendor/bin/phpunit"
44-
}
45-
"config": {
46-
"sort-packages": true,
47-
"preferred-install": "dist",
48-
"optimize-autoloader": true,
49-
"allow-plugins": {
50-
"composer/package-versions-deprecated": true
51-
}
52-
},
53-
"minimum-stability": "dev",
54-
"prefer-stable": true
2+
"name": "async-http/async-http",
3+
"description": "🚀 Async, non-blocking HTTP client using PHP streams",
4+
"type": "library",
5+
"keywords": [
6+
"http",
7+
"async",
8+
"non-blocking",
9+
"streams",
10+
"http-client",
11+
"api"
12+
],
13+
"license": "MIT",
14+
"autoload": {
15+
"psr-4": {
16+
"Async\\Http\\": "src/Http/"
17+
}
18+
},
19+
"autoload-dev": {
20+
"psr-4": {
21+
"Tests\\": "tests/"
22+
}
23+
},
24+
"require": {
25+
"php": ">=8.1",
26+
"psr/http-client": "^1.0",
27+
"psr/http-message": "^2.0"
28+
},
29+
"require-dev": {
30+
"phpunit/phpunit": "^12.2",
31+
"phpstan/phpstan": "^2.1",
32+
"laravel/pint": "^1.23"
33+
},
34+
"support": {
35+
"issues": "https://github.com/CodeWithSushil/async-http/issues",
36+
"source": "https://github.com/CodeWithSushil/async-http"
37+
},
38+
"authors": [
39+
{
40+
"name": "Sushil Kumar",
41+
"email": "sushilkumbhar77@gmail.com"
42+
}
43+
],
44+
"funding": [
45+
{
46+
"type": "github",
47+
"url": "https://github.com/sponsors/CodeWithSushil"
48+
}
49+
],
50+
"scripts": {
51+
"pint": "vendor/bin/pint",
52+
"type": "vendor/bin/phpstan",
53+
"test": "vendor/bin/phpunit"
54+
},
55+
"config": {
56+
"sort-packages": true,
57+
"preferred-install": "dist",
58+
"optimize-autoloader": true,
59+
"allow-plugins": {
60+
"composer/package-versions-deprecated": true
61+
}
62+
},
63+
"minimum-stability": "dev",
64+
"prefer-stable": true
5565
}

tests/AsyncHttpClientTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
namespace Tests;
4+
35
use Async\Http\AsyncHttpClient;
46
use PHPUnit\Framework\TestCase;
57

0 commit comments

Comments
 (0)