Skip to content

Commit fc03f40

Browse files
committed
add to stomp transport.
1 parent b1629a0 commit fc03f40

8 files changed

Lines changed: 15 additions & 4 deletions

File tree

‎pkg/enqueue-bundle/Tests/Functional/UseCasesTest.php‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,10 +379,7 @@ protected function customSetUp(array $enqueueConfig)
379379
$driver->setupBroker();
380380

381381
try {
382-
if (method_exists($context, 'purgeQueue')) {
383-
$queue = $this->getTestQueue();
384-
$context->purgeQueue($queue);
385-
}
382+
$context->purgeQueue($this->getTestQueue());
386383
} catch (\Exception $e) {
387384
}
388385
}

‎pkg/stomp/StompConnectionFactory.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Enqueue\Stomp;
46

57
use Interop\Queue\PsrConnectionFactory;

‎pkg/stomp/StompConsumer.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Enqueue\Stomp;
46

57
use Interop\Queue\InvalidMessageException;

‎pkg/stomp/StompContext.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Enqueue\Stomp;
46

57
use Interop\Queue\InvalidDestinationException;

‎pkg/stomp/StompDestination.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Enqueue\Stomp;
46

57
use Interop\Queue\PsrQueue;

‎pkg/stomp/StompHeadersEncoder.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Enqueue\Stomp;
46

57
class StompHeadersEncoder

‎pkg/stomp/StompMessage.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Enqueue\Stomp;
46

57
use Interop\Queue\PsrMessage;

‎pkg/stomp/StompProducer.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Enqueue\Stomp;
46

57
use Interop\Queue\InvalidDestinationException;

0 commit comments

Comments
 (0)