Skip to content

Commit b20fe5c

Browse files
authored
[2.x] Socket driver : default to 1.0 as protocol version (#54)
* default to 1.0 as protocol version * fix pipleine * fix phpcs
1 parent abcd087 commit b20fe5c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

ruleset.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,5 @@
1919
</rule>
2020

2121
<rule ref="Joomla.Classes.InstantiateNewClasses">
22-
<properties>
23-
<property name="shortArraySyntax" value="true"/>
24-
</properties>
2522
</rule>
2623
</ruleset>

src/Transport/Socket.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function request($method, UriInterface $uri, $data = null, array $headers
8585
}
8686

8787
// Configure protocol version, use transport's default if not set otherwise.
88-
$protocolVersion = $this->getOption('protocolVersion', '1.1');
88+
$protocolVersion = $this->getOption('protocolVersion', '1.0');
8989

9090
// Build the request payload.
9191
$request = [];

0 commit comments

Comments
 (0)