Skip to content

Commit 351e37d

Browse files
dependabot[bot]CodeDreddStyleCIBot
authored
chore(deps): bump php-http/client-common from 2.3.0 to 2.5.0 (#170)
* chore(deps): bump php-http/client-common from 2.3.0 to 2.5.0 Bumps [php-http/client-common](https://github.com/php-http/client-common) from 2.3.0 to 2.5.0. - [Release notes](https://github.com/php-http/client-common/releases) - [Changelog](https://github.com/php-http/client-common/blob/master/CHANGELOG.md) - [Commits](php-http/client-common@2.3.0...2.5.0) --- updated-dependencies: - dependency-name: php-http/client-common dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Apply fixes from StyleCI (#185) Co-authored-by: StyleCI Bot <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gregor Becker <[email protected]> Co-authored-by: StyleCI Bot <[email protected]>
1 parent 5886f16 commit 351e37d

File tree

16 files changed

+66
-57
lines changed

16 files changed

+66
-57
lines changed

composer.lock

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

src/Client/Request.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public function __construct($request)
3232

3333
/**
3434
* Get the soap action for soap 1.1 and 1.2.
35+
*
3536
* @return string
3637
*/
3738
public function action(): string

src/Client/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public function clientError()
211211
/**
212212
* Execute the given callback if there was a server or client error.
213213
*
214-
* @param \Closure|callable $callback
214+
* @param \Closure|callable $callback
215215
* @return \CodeDredd\Soap\Client\Response
216216
*/
217217
public function onError(callable $callback)

src/Code/Validation.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class Validation extends Base
3131

3232
/**
3333
* Validation constructor.
34+
*
3435
* @param Service $engine
3536
* @param $configName
3637
* @param bool $dryRun

src/Exceptions/NotFoundConfigurationException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ class NotFoundConfigurationException extends RuntimeException
88
{
99
/**
1010
* @param \Throwable $throwable
11-
*
1211
* @return NotFoundConfigurationException
1312
*/
1413
public static function fromThrowable(\Throwable $throwable): self

src/Exceptions/SoapException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ class SoapException extends \RuntimeException
99
{
1010
/**
1111
* @param \Throwable $throwable
12-
*
1312
* @return SoapException
1413
*/
1514
public static function fromThrowable(\Throwable $throwable): self

src/Faker/EngineFaker.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class EngineFaker implements EngineInterface
3535

3636
/**
3737
* EngineFaker constructor.
38+
*
3839
* @param DriverInterface $driver
3940
* @param HandlerInterface $handler
4041
* @param ExtSoapOptions $options

src/HttpBinding/Builder/Psr7RequestBuilder.php

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public function __construct(MessageFactory $messageFactory, StreamFactory $strea
6666

6767
/**
6868
* @return RequestInterface
69+
*
6970
* @throws RequestException
7071
*/
7172
public function getHttpRequest(): RequestInterface
@@ -89,15 +90,15 @@ public function getHttpRequest(): RequestInterface
8990
}
9091

9192
/**
92-
* @param string $endpoint
93+
* @param string $endpoint
9394
*/
9495
public function setEndpoint(string $endpoint)
9596
{
9697
$this->endpoint = $endpoint;
9798
}
9899

99100
/**
100-
* @param array $headers
101+
* @param array $headers
101102
*/
102103
public function setHeaders(array $headers)
103104
{
@@ -121,15 +122,15 @@ public function isSOAP12()
121122
}
122123

123124
/**
124-
* @param string $soapAction
125+
* @param string $soapAction
125126
*/
126127
public function setSoapAction(string $soapAction)
127128
{
128129
$this->soapAction = $soapAction;
129130
}
130131

131132
/**
132-
* @param string $content
133+
* @param string $content
133134
*/
134135
public function setSoapMessage(string $content)
135136
{
@@ -138,7 +139,7 @@ public function setSoapMessage(string $content)
138139
}
139140

140141
/**
141-
* @param string $method
142+
* @param string $method
142143
*/
143144
public function setHttpMethod(string $method)
144145
{
@@ -147,6 +148,7 @@ public function setHttpMethod(string $method)
147148

148149
/**
149150
* @return void
151+
*
150152
* @throws \Phpro\SoapClient\Exception\RequestException
151153
*/
152154
private function validate()
@@ -161,6 +163,7 @@ private function validate()
161163

162164
/**
163165
* SOAP 1.1 only defines HTTP binding with POST method.
166+
*
164167
* @link https://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383527
165168
*/
166169
if ($this->soapVersion === self::SOAP11 && $this->httpMethod !== 'POST') {
@@ -169,6 +172,7 @@ private function validate()
169172

170173
/**
171174
* SOAP 1.2 only defines HTTP binding with POST and GET methods.
175+
*
172176
* @link https://www.w3.org/TR/2007/REC-soap12-part0-20070427/#L10309
173177
*/
174178
if ($this->soapVersion === self::SOAP12 && ! in_array($this->httpMethod, ['GET', 'POST'])) {
@@ -190,6 +194,7 @@ private function prepareHeaders(): array
190194

191195
/**
192196
* @link https://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383526
197+
*
193198
* @return array
194199
*/
195200
private function prepareSoap11Headers(): array
@@ -205,7 +210,9 @@ private function prepareSoap11Headers(): array
205210
/**
206211
* SOAPAction header is removed in SOAP 1.2 and now expressed as a value of
207212
* an (optional) "action" parameter of the "application/soap+xml" media type.
213+
*
208214
* @link https://www.w3.org/TR/soap12-part0/#L4697
215+
*
209216
* @return array
210217
*/
211218
private function prepareSoap12Headers(): array

src/HttpBinding/Converter/Psr7Converter.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public function __construct(MessageFactory $messageFactory, StreamFactory $strea
3434
/**
3535
* @param SoapRequest $request
3636
* @param array $requestHeaders
37-
*
3837
* @return RequestInterface
3938
*/
4039
public function convertSoapRequest(SoapRequest $request, $requestHeaders = []): RequestInterface
@@ -51,8 +50,7 @@ public function convertSoapRequest(SoapRequest $request, $requestHeaders = []):
5150
}
5251

5352
/**
54-
* @param ResponseInterface $response
55-
*
53+
* @param ResponseInterface $response
5654
* @return SoapResponse
5755
*/
5856
public function convertSoapResponse(ResponseInterface $response): SoapResponse

0 commit comments

Comments
 (0)