Skip to content

Commit 407487e

Browse files
authored
Bump php-cs-fixer (#1001)
1 parent aae7500 commit 407487e

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
/vendor/
2-
.php_cs.cache
3-
.phpunit.result.cache
2+
*.cache
43
composer.lock

src/Input/AddLayerVersionPermissionRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function request(): Request
161161

162162
// Prepare Body
163163
$bodyPayload = $this->requestBody();
164-
$body = empty($bodyPayload) ? '{}' : \json_encode($bodyPayload, 4194304);
164+
$body = empty($bodyPayload) ? '{}' : json_encode($bodyPayload, 4194304);
165165

166166
// Return the Request
167167
return new Request('POST', $uriString, $query, $headers, StreamFactory::create($body));

src/Input/PublishLayerVersionRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function request(): Request
126126

127127
// Prepare Body
128128
$bodyPayload = $this->requestBody();
129-
$body = empty($bodyPayload) ? '{}' : \json_encode($bodyPayload, 4194304);
129+
$body = empty($bodyPayload) ? '{}' : json_encode($bodyPayload, 4194304);
130130

131131
// Return the Request
132132
return new Request('POST', $uriString, $query, $headers, StreamFactory::create($body));

tests/Integration/LambdaClientTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function testInvoke(): void
7676

7777
public function testInvokeWait(): void
7878
{
79-
if (!\method_exists(Result::class, 'wait')) {
79+
if (!method_exists(Result::class, 'wait')) {
8080
self::markTestSkipped('Core does not contains the feature');
8181
}
8282

@@ -88,7 +88,7 @@ public function testInvokeWait(): void
8888
$expected[] = '"hello ' . $i . '"';
8989
$results[] = $client->Invoke(new InvocationRequest([
9090
'FunctionName' => 'Index',
91-
'Payload' => \json_encode(['name' => $i, 'delay' => 80 * ($i % 3)]),
91+
'Payload' => json_encode(['name' => $i, 'delay' => 80 * ($i % 3)]),
9292
]));
9393
}
9494

0 commit comments

Comments
 (0)