Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Feb 14, 2024
1 parent 6361665 commit b270874
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 10 deletions.
2 changes: 0 additions & 2 deletions tests/Integration/DelayMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
use Yiisoft\Queue\Middleware\CallableFactory;
use Yiisoft\Queue\Middleware\MiddlewareDispatcher;
use Yiisoft\Queue\Middleware\MiddlewareFactory;
use Yiisoft\Queue\Middleware\Push\MiddlewareFactoryPush;
use Yiisoft\Queue\Middleware\Push\PushMiddlewareDispatcher;
use Yiisoft\Queue\Queue;
use Yiisoft\Queue\Worker\WorkerInterface;
use Yiisoft\Test\Support\Container\SimpleContainer;
Expand Down
3 changes: 1 addition & 2 deletions tests/Support/ExtendedSimpleMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ final class ExtendedSimpleMessage implements MessageInterface

public function __construct(
array $data,
)
{
) {
$this->data = $data;
}
}
3 changes: 0 additions & 3 deletions tests/Support/FakeAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@
namespace Yiisoft\Queue\AMQP\Tests\Support;

use Yiisoft\Queue\Adapter\AdapterInterface;
use Yiisoft\Queue\AMQP\QueueProviderInterface;
use Yiisoft\Queue\Cli\LoopInterface;
use Yiisoft\Queue\Enum\JobStatus;
use Yiisoft\Queue\Message\MessageInterface;
use Yiisoft\Queue\Message\MessageSerializerInterface;

final class FakeAdapter implements AdapterInterface
{
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/QueueFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use Yiisoft\Queue\AMQP\QueueProvider;
use Yiisoft\Queue\AMQP\Tests\Support\ExtendedSimpleMessage;
use Yiisoft\Queue\AMQP\Tests\Support\FileHelper;
use Yiisoft\Queue\Message\Message;
use Yiisoft\Queue\Middleware\CallableFactory;
use Yiisoft\Queue\QueueFactory;

Expand Down
1 change: 0 additions & 1 deletion tests/Unit/QueueProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
use Yiisoft\Queue\AMQP\Tests\Support\ExtendedSimpleMessage;
use Yiisoft\Queue\AMQP\Tests\Support\FileHelper;
use Yiisoft\Queue\Message\JsonMessageSerializer;
use Yiisoft\Queue\Message\Message;

final class QueueProviderTest extends UnitTestCase
{
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/UnitTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use Yiisoft\EventDispatcher\Dispatcher\Dispatcher;
use Yiisoft\EventDispatcher\Provider\ListenerCollection;
use Yiisoft\EventDispatcher\Provider\Provider;
use Yiisoft\Injector\Injector;
use Yiisoft\Queue\Adapter\AdapterInterface;
use Yiisoft\Queue\AMQP\Adapter;
use Yiisoft\Queue\AMQP\QueueProvider;
Expand Down

0 comments on commit b270874

Please sign in to comment.