Skip to content

Commit

Permalink
Merge pull request #2 from adspons/master
Browse files Browse the repository at this point in the history
php 8 and phpunit 9.5 Support
  • Loading branch information
makasim authored Dec 30, 2020
2 parents f0414b8 + 7179f5b commit 95e3761
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/Amqp/SendAndReceiveTimestampAsIntegerSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ abstract class SendAndReceiveTimestampAsIntegerSpec extends TestCase
*/
private $context;

protected function tearDown()
protected function tearDown(): void
{
if ($this->context) {
$this->context->close();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ abstract class SubscriptionConsumerAddConsumerTagOnSubscribeSpec extends TestCas
*/
private $context;

protected function tearDown()
protected function tearDown(): void
{
if ($this->context) {
$this->context->close();
Expand Down
2 changes: 1 addition & 1 deletion src/Amqp/SubscriptionConsumerPreFetchCountSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ abstract class SubscriptionConsumerPreFetchCountSpec extends TestCase
*/
private $context;

protected function tearDown()
protected function tearDown(): void
{
if ($this->context) {
$this->context->close();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ abstract class SubscriptionConsumerRemoveConsumerTagOnUnsubscribeSpec extends Te
*/
private $context;

protected function tearDown()
protected function tearDown(): void
{
if ($this->context) {
$this->context->close();
Expand Down
2 changes: 1 addition & 1 deletion src/RequeueMessageSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ abstract class RequeueMessageSpec extends TestCase
*/
private $context;

protected function tearDown()
protected function tearDown(): void
{
if ($this->context) {
$this->context->close();
Expand Down
2 changes: 1 addition & 1 deletion src/SendAndReceiveDelayedMessageFromQueueSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ abstract class SendAndReceiveDelayedMessageFromQueueSpec extends TestCase
*/
private $context;

protected function tearDown()
protected function tearDown(): void
{
if ($this->context) {
$this->context->close();
Expand Down
2 changes: 1 addition & 1 deletion src/SendAndReceivePriorityMessagesFromQueueSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ abstract class SendAndReceivePriorityMessagesFromQueueSpec extends TestCase
*/
private $context;

protected function tearDown()
protected function tearDown(): void
{
if ($this->context) {
$this->context->close();
Expand Down
2 changes: 1 addition & 1 deletion src/SendAndReceiveTimeToLiveMessagesFromQueueSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ abstract class SendAndReceiveTimeToLiveMessagesFromQueueSpec extends TestCase
*/
private $context;

protected function tearDown()
protected function tearDown(): void
{
if ($this->context) {
$this->context->close();
Expand Down
2 changes: 1 addition & 1 deletion src/SendToAndReceiveFromQueueSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ abstract class SendToAndReceiveFromQueueSpec extends TestCase
*/
private $context;

protected function tearDown()
protected function tearDown(): void
{
if ($this->context) {
$this->context->close();
Expand Down
2 changes: 1 addition & 1 deletion src/SendToAndReceiveFromTopicSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ abstract class SendToAndReceiveFromTopicSpec extends TestCase
*/
private $context;

protected function tearDown()
protected function tearDown(): void
{
if ($this->context) {
$this->context->close();
Expand Down
2 changes: 1 addition & 1 deletion src/SendToAndReceiveNoWaitFromQueueSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ abstract class SendToAndReceiveNoWaitFromQueueSpec extends TestCase
*/
private $context;

protected function tearDown()
protected function tearDown(): void
{
if ($this->context) {
$this->context->close();
Expand Down
2 changes: 1 addition & 1 deletion src/SendToAndReceiveNoWaitFromTopicSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ abstract class SendToAndReceiveNoWaitFromTopicSpec extends TestCase
*/
private $context;

protected function tearDown()
protected function tearDown(): void
{
if ($this->context) {
$this->context->close();
Expand Down
2 changes: 1 addition & 1 deletion src/SendToTopicAndReceiveFromQueueSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ abstract class SendToTopicAndReceiveFromQueueSpec extends TestCase
*/
private $context;

protected function tearDown()
protected function tearDown(): void
{
if ($this->context) {
$this->context->close();
Expand Down
2 changes: 1 addition & 1 deletion src/SendToTopicAndReceiveNoWaitFromQueueSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ abstract class SendToTopicAndReceiveNoWaitFromQueueSpec extends TestCase
*/
private $context;

protected function tearDown()
protected function tearDown(): void
{
if ($this->context) {
$this->context->close();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ abstract class SubscriptionConsumerConsumeFromAllSubscribedQueuesSpec extends Te
*/
private $context;

protected function tearDown()
protected function tearDown(): void
{
if ($this->context) {
$this->context->close();
Expand Down
2 changes: 1 addition & 1 deletion src/SubscriptionConsumerConsumeUntilUnsubscribedSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ abstract class SubscriptionConsumerConsumeUntilUnsubscribedSpec extends TestCase
*/
protected $subscriptionConsumer;

protected function tearDown()
protected function tearDown(): void
{
if ($this->context) {
$this->context->close();
Expand Down
2 changes: 1 addition & 1 deletion src/SubscriptionConsumerStopOnFalseSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ abstract class SubscriptionConsumerStopOnFalseSpec extends TestCase
*/
private $context;

protected function tearDown()
protected function tearDown(): void
{
if ($this->context) {
$this->context->close();
Expand Down

0 comments on commit 95e3761

Please sign in to comment.