Skip to content

Commit 95e3761

Browse files
authored
Merge pull request #2 from adspons/master
php 8 and phpunit 9.5 Support
2 parents f0414b8 + 7179f5b commit 95e3761

17 files changed

+17
-17
lines changed

src/Amqp/SendAndReceiveTimestampAsIntegerSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ abstract class SendAndReceiveTimestampAsIntegerSpec extends TestCase
1717
*/
1818
private $context;
1919

20-
protected function tearDown()
20+
protected function tearDown(): void
2121
{
2222
if ($this->context) {
2323
$this->context->close();

src/Amqp/SubscriptionConsumerAddConsumerTagOnSubscribeSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ abstract class SubscriptionConsumerAddConsumerTagOnSubscribeSpec extends TestCas
1616
*/
1717
private $context;
1818

19-
protected function tearDown()
19+
protected function tearDown(): void
2020
{
2121
if ($this->context) {
2222
$this->context->close();

src/Amqp/SubscriptionConsumerPreFetchCountSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ abstract class SubscriptionConsumerPreFetchCountSpec extends TestCase
1616
*/
1717
private $context;
1818

19-
protected function tearDown()
19+
protected function tearDown(): void
2020
{
2121
if ($this->context) {
2222
$this->context->close();

src/Amqp/SubscriptionConsumerRemoveConsumerTagOnUnsubscribeSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ abstract class SubscriptionConsumerRemoveConsumerTagOnUnsubscribeSpec extends Te
1616
*/
1717
private $context;
1818

19-
protected function tearDown()
19+
protected function tearDown(): void
2020
{
2121
if ($this->context) {
2222
$this->context->close();

src/RequeueMessageSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ abstract class RequeueMessageSpec extends TestCase
1818
*/
1919
private $context;
2020

21-
protected function tearDown()
21+
protected function tearDown(): void
2222
{
2323
if ($this->context) {
2424
$this->context->close();

src/SendAndReceiveDelayedMessageFromQueueSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ abstract class SendAndReceiveDelayedMessageFromQueueSpec extends TestCase
1717
*/
1818
private $context;
1919

20-
protected function tearDown()
20+
protected function tearDown(): void
2121
{
2222
if ($this->context) {
2323
$this->context->close();

src/SendAndReceivePriorityMessagesFromQueueSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ abstract class SendAndReceivePriorityMessagesFromQueueSpec extends TestCase
1717
*/
1818
private $context;
1919

20-
protected function tearDown()
20+
protected function tearDown(): void
2121
{
2222
if ($this->context) {
2323
$this->context->close();

src/SendAndReceiveTimeToLiveMessagesFromQueueSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ abstract class SendAndReceiveTimeToLiveMessagesFromQueueSpec extends TestCase
1717
*/
1818
private $context;
1919

20-
protected function tearDown()
20+
protected function tearDown(): void
2121
{
2222
if ($this->context) {
2323
$this->context->close();

src/SendToAndReceiveFromQueueSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ abstract class SendToAndReceiveFromQueueSpec extends TestCase
1717
*/
1818
private $context;
1919

20-
protected function tearDown()
20+
protected function tearDown(): void
2121
{
2222
if ($this->context) {
2323
$this->context->close();

src/SendToAndReceiveFromTopicSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ abstract class SendToAndReceiveFromTopicSpec extends TestCase
1717
*/
1818
private $context;
1919

20-
protected function tearDown()
20+
protected function tearDown(): void
2121
{
2222
if ($this->context) {
2323
$this->context->close();

src/SendToAndReceiveNoWaitFromQueueSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ abstract class SendToAndReceiveNoWaitFromQueueSpec extends TestCase
1717
*/
1818
private $context;
1919

20-
protected function tearDown()
20+
protected function tearDown(): void
2121
{
2222
if ($this->context) {
2323
$this->context->close();

src/SendToAndReceiveNoWaitFromTopicSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ abstract class SendToAndReceiveNoWaitFromTopicSpec extends TestCase
1717
*/
1818
private $context;
1919

20-
protected function tearDown()
20+
protected function tearDown(): void
2121
{
2222
if ($this->context) {
2323
$this->context->close();

src/SendToTopicAndReceiveFromQueueSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ abstract class SendToTopicAndReceiveFromQueueSpec extends TestCase
1818
*/
1919
private $context;
2020

21-
protected function tearDown()
21+
protected function tearDown(): void
2222
{
2323
if ($this->context) {
2424
$this->context->close();

src/SendToTopicAndReceiveNoWaitFromQueueSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ abstract class SendToTopicAndReceiveNoWaitFromQueueSpec extends TestCase
1818
*/
1919
private $context;
2020

21-
protected function tearDown()
21+
protected function tearDown(): void
2222
{
2323
if ($this->context) {
2424
$this->context->close();

src/SubscriptionConsumerConsumeFromAllSubscribedQueuesSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ abstract class SubscriptionConsumerConsumeFromAllSubscribedQueuesSpec extends Te
1818
*/
1919
private $context;
2020

21-
protected function tearDown()
21+
protected function tearDown(): void
2222
{
2323
if ($this->context) {
2424
$this->context->close();

src/SubscriptionConsumerConsumeUntilUnsubscribedSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ abstract class SubscriptionConsumerConsumeUntilUnsubscribedSpec extends TestCase
2424
*/
2525
protected $subscriptionConsumer;
2626

27-
protected function tearDown()
27+
protected function tearDown(): void
2828
{
2929
if ($this->context) {
3030
$this->context->close();

src/SubscriptionConsumerStopOnFalseSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ abstract class SubscriptionConsumerStopOnFalseSpec extends TestCase
1818
*/
1919
private $context;
2020

21-
protected function tearDown()
21+
protected function tearDown(): void
2222
{
2323
if ($this->context) {
2424
$this->context->close();

0 commit comments

Comments
 (0)