Skip to content

Commit

Permalink
Merge pull request #29 from renoki-co/fix/move-generates-sns-messages…
Browse files Browse the repository at this point in the history
…-to-src

[fix] Move GeneratesSNSMessages to src/
  • Loading branch information
rennokki authored Jul 17, 2021
2 parents f89fb9c + 2e1a774 commit 6fc9121
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Rennokki\LaravelSnsEvents\Tests\Concerns;
namespace Rennokki\LaravelSnsEvents\Concerns;

use Aws\Sns\Message;
use Aws\Sns\MessageValidator;
Expand Down Expand Up @@ -43,7 +43,8 @@ protected static function initializeSsl(): void

openssl_x509_export($x509, self::$certificate);

openssl_x509_free($x509);
// Deprecated in PHP >= 8.0
// openssl_x509_free($x509);
}

/**
Expand Down
3 changes: 2 additions & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
namespace Rennokki\LaravelSnsEvents\Tests;

use Orchestra\Testbench\TestCase as Orchestra;
use Rennokki\LaravelSnsEvents\Concerns\GeneratesSnsMessages;

class TestCase extends Orchestra
{
use Concerns\GeneratesSnsMessages;
use GeneratesSnsMessages;

/**
* {@inheritdoc}
Expand Down

0 comments on commit 6fc9121

Please sign in to comment.