Skip to content

Commit

Permalink
fixed symfony 6.1 deprecation notices
Browse files Browse the repository at this point in the history
  • Loading branch information
zyv4yk committed Jun 5, 2024
1 parent bb6e759 commit 3509b9a
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion pkg/enqueue/Doctrine/DoctrineSchemaCompilerPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class DoctrineSchemaCompilerPass implements CompilerPassInterface
{
public function process(ContainerBuilder $container)
public function process(ContainerBuilder $container): void
{
if (false === $container->hasDefinition('doctrine')) {
return;
Expand Down
2 changes: 0 additions & 2 deletions pkg/enqueue/Symfony/Client/ConsumeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ class ConsumeCommand extends Command
use QueueConsumerOptionsCommandTrait;
use SetupBrokerExtensionCommandTrait;

protected static $defaultName = 'enqueue:consume';

/**
* @var ContainerInterface
*/
Expand Down
2 changes: 0 additions & 2 deletions pkg/enqueue/Symfony/Client/ProduceCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
#[AsCommand('enqueue:produce')]
class ProduceCommand extends Command
{
protected static $defaultName = 'enqueue:produce';

/**
* @var ContainerInterface
*/
Expand Down
1 change: 0 additions & 1 deletion pkg/enqueue/Symfony/Client/RoutesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#[AsCommand('enqueue:routes')]
class RoutesCommand extends Command
{
protected static $defaultName = 'enqueue:routes';

/**
* @var ContainerInterface
Expand Down
1 change: 0 additions & 1 deletion pkg/enqueue/Symfony/Client/SetupBrokerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#[AsCommand('enqueue:setup-broker')]
class SetupBrokerCommand extends Command
{
protected static $defaultName = 'enqueue:setup-broker';

/**
* @var ContainerInterface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ class ConfigurableConsumeCommand extends Command
use LimitsExtensionsCommandTrait;
use QueueConsumerOptionsCommandTrait;

protected static $defaultName = 'enqueue:transport:consume';

/**
* @var ContainerInterface
*/
Expand Down
2 changes: 0 additions & 2 deletions pkg/enqueue/Symfony/Consumption/ConsumeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ class ConsumeCommand extends Command
use LimitsExtensionsCommandTrait;
use QueueConsumerOptionsCommandTrait;

protected static $defaultName = 'enqueue:transport:consume';

/**
* @var ContainerInterface
*/
Expand Down

0 comments on commit 3509b9a

Please sign in to comment.