Skip to content

Commit 10e08e8

Browse files
authored
Fix random CS stuff so CI passes (#112)
* Fixed CS * More fixes * Normalize composer * baseline * etter baseline * Fixed typo
1 parent c6ffc36 commit 10e08e8

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "runtime/swoole",
3-
"type": "library",
43
"description": "Swoole runtime",
54
"license": "MIT",
5+
"type": "library",
66
"authors": [
77
{
88
"name": "Tobias Nyholm",
@@ -12,16 +12,18 @@
1212
"require": {
1313
"symfony/runtime": "^5.3 || ^6.0"
1414
},
15-
"conflict": {
16-
"ext-swoole": "<4.6.0"
17-
},
1815
"require-dev": {
1916
"illuminate/http": "^8.48",
2017
"swoole/ide-helper": "^4.6",
2118
"symfony/http-foundation": "^5.3 || ^6.0",
2219
"symfony/http-kernel": "^5.4 || ^6.0",
2320
"symfony/phpunit-bridge": "^5.3"
2421
},
22+
"conflict": {
23+
"ext-swoole": "<4.6.0"
24+
},
25+
"minimum-stability": "dev",
26+
"prefer-stable": true,
2527
"autoload": {
2628
"psr-4": {
2729
"Runtime\\Swoole\\": "src/"
@@ -31,7 +33,5 @@
3133
"psr-4": {
3234
"Runtime\\Swoole\\Tests\\": "tests/"
3335
}
34-
},
35-
"minimum-stability": "dev",
36-
"prefer-stable": true
36+
}
3737
}

src/SymfonyHttpBridge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static function convertSwooleRequest(Request $request): SymfonyRequest
3838
public static function reflectSymfonyResponse(SymfonyResponse $sfResponse, Response $response): void
3939
{
4040
foreach ($sfResponse->headers->all() as $name => $values) {
41-
$response->header($name, $values);
41+
$response->header((string) $name, $values);
4242
}
4343

4444
$response->status($sfResponse->getStatusCode());

0 commit comments

Comments
 (0)