Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2aaec99

Browse filesBrowse files
committed
Fix prefer-lowest test
1 parent f03a7b3 commit 2aaec99
Copy full SHA for 2aaec99

File tree

4 files changed

+4
-6
lines changed
Filter options

4 files changed

+4
-6
lines changed

‎composer.json

Copy file name to clipboardExpand all lines: composer.json
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
"require-dev": {
105105
"amphp/http-client": "^4.2",
106106
"amphp/http-tunnel": "^1.0",
107+
"async-aws/core": "^0.5.1",
107108
"async-aws/sqs": "^0.4",
108109
"cache/integration-tests": "dev-master",
109110
"doctrine/annotations": "~1.0",

‎src/Symfony/Component/Messenger/Bridge/AmazonSqs/Tests/Transport/AmazonSqsIntegrationTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/Bridge/AmazonSqs/Tests/Transport/AmazonSqsIntegrationTest.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ private function execute(string $dsn): void
5656

5757
private function clearSqs(string $dsn): void
5858
{
59-
$url = \parse_url($dsn);
59+
$url = parse_url($dsn);
6060
$client = new SqsClient(['endpoint' => "http://{$url['host']}:{$url['port']}"]);
6161
$client->purgeQueue([
62-
'QueueUrl' => $client->getQueueUrl(['QueueName' => ltrim($url['path'], '/')])->getQueueUrl()
62+
'QueueUrl' => $client->getQueueUrl(['QueueName' => ltrim($url['path'], '/')])->getQueueUrl(),
6363
])->resolve();
6464
}
6565
}

‎src/Symfony/Component/Messenger/Bridge/AmazonSqs/Tests/Transport/ConnectionTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/Bridge/AmazonSqs/Tests/Transport/ConnectionTest.php
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@
1818
use AsyncAws\Sqs\SqsClient;
1919
use AsyncAws\Sqs\ValueObject\Message;
2020
use PHPUnit\Framework\TestCase;
21-
use Symfony\Component\HttpClient\MockHttpClient;
22-
use Symfony\Component\HttpClient\Response\MockResponse;
2321
use Symfony\Component\Messenger\Bridge\AmazonSqs\Transport\Connection;
2422
use Symfony\Contracts\HttpClient\HttpClientInterface;
25-
use Symfony\Contracts\HttpClient\ResponseInterface;
2623

2724
class ConnectionTest extends TestCase
2825
{

‎src/Symfony/Component/Messenger/Bridge/AmazonSqs/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/Bridge/AmazonSqs/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
],
1818
"require": {
1919
"php": "^7.2.5",
20-
"ext-json": "*",
2120
"async-aws/sqs": "^0.4",
2221
"symfony/messenger": "^4.3|^5.0",
2322
"symfony/service-contracts": "^1.1|^2"
2423
},
2524
"require-dev": {
25+
"async-aws/sqs": "^0.5.1",
2626
"symfony/http-client-contracts": "^1.0|^2.0",
2727
"symfony/property-access": "^4.4|^5.0",
2828
"symfony/serializer": "^4.4|^5.0"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.