Skip to content

Commit

Permalink
Updated composer dependencies, RabbitMQ version, refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
DKravtsov committed Mar 17, 2024
1 parent 15b37a8 commit cb6f53e
Show file tree
Hide file tree
Showing 26 changed files with 964 additions and 941 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"doctrine/annotations": "^2.0",
"doctrine/doctrine-bundle": "^2.11",
"doctrine/doctrine-migrations-bundle": "^3.3",
"doctrine/orm": "^2.18",
"doctrine/orm": "^2.19",
"phpdocumentor/reflection-docblock": "^5.3",
"dukecity/command-scheduler-bundle": "^5.0",
"symfony/apache-pack": "^1.0",
Expand Down Expand Up @@ -82,7 +82,7 @@
"roave/security-advisories": "dev-latest",
"symfony/browser-kit": "6.4.*",
"symfony/debug-bundle": "6.4.*",
"symfony/maker-bundle": "^1.54",
"symfony/maker-bundle": "^1.56",
"symfony/requirements-checker": "^2.0",
"symfony/stopwatch": "6.4.*",
"symfony/var-dumper": "6.4.*",
Expand Down
639 changes: 321 additions & 318 deletions composer.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docker/rabbitmq/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rabbitmq:3.12-management-alpine
FROM rabbitmq:3.13-management-alpine

COPY rabbitmq_delayed_message_exchange-3.12.0.ez /opt/rabbitmq/plugins/
COPY rabbitmq_delayed_message_exchange-3.13.0.ez /opt/rabbitmq/plugins/
RUN rabbitmq-plugins enable --offline rabbitmq_delayed_message_exchange
Binary file not shown.
Binary file not shown.
4 changes: 1 addition & 3 deletions src/Command/WaitDatabaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
use Throwable;

/**
* Class WaitDatabaseCommand
*
* @package App\Command\Utils
*/
#[AsCommand(
Expand All @@ -26,7 +24,7 @@ class WaitDatabaseCommand extends Command
/**
* Wait sleep time for db connection in seconds
*/
private const WAIT_SLEEP_TIME = 2;
private const int WAIT_SLEEP_TIME = 2;

/**
* Constructor
Expand Down
2 changes: 0 additions & 2 deletions src/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
use Symfony\Component\HttpKernel\Kernel as BaseKernel;

/**
* Class Kernel
*
* @package App
*/
class Kernel extends BaseKernel
Expand Down
2 changes: 0 additions & 2 deletions src/Message/Interfaces/MessageHighInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
namespace App\Message\Interfaces;

/**
* Interface MessageHighInterface
*
* @package App\Message\Interfaces
*/
interface MessageHighInterface
Expand Down
2 changes: 0 additions & 2 deletions src/Message/Interfaces/MessageLowInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
namespace App\Message\Interfaces;

/**
* Interface MessageLowInterface
*
* @package App\Message\Interfaces
*/
interface MessageLowInterface
Expand Down
1 change: 0 additions & 1 deletion src/Message/TestMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use App\Message\Interfaces\MessageHighInterface;

/**
* Class TestMessage
* TODO: This is message example, you can delete it.
*
* @package App\Message
Expand Down
1 change: 0 additions & 1 deletion src/MessageHandler/TestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use Throwable;

/**
* Class TestHandler
* If you need handling multiple - follow https://symfony.com/doc/current/messenger.html#handling-multiple-messages
* TODO: This is handler example, you can delete it.
*
Expand Down
2 changes: 0 additions & 2 deletions src/Service/Interfaces/MessageServiceInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
namespace App\Service\Interfaces;

/**
* Interface MessageServiceInterface
*
* @package App\Service\Interfaces
*/
interface MessageServiceInterface
Expand Down
2 changes: 0 additions & 2 deletions src/Service/MessageService.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
use Symfony\Component\Messenger\MessageBusInterface;

/**
* Class MessageService
*
* @package App\Service
*/
class MessageService implements MessageServiceInterface
Expand Down
2 changes: 0 additions & 2 deletions tests/Functional/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
use App\Tests\FunctionalTestCase;

/**
* Class ExampleTest
*
* @package App\Tests\Functional
*/
class ExampleTest extends FunctionalTestCase
Expand Down
2 changes: 0 additions & 2 deletions tests/Unit/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
use App\Tests\UnitTestCase;

/**
* Class ExampleTest
*
* @package App\Tests\Unit
*/
class ExampleTest extends UnitTestCase
Expand Down
Loading

0 comments on commit cb6f53e

Please sign in to comment.