php-enqueue/enqueue-dev

Symfony 6.1 deprecations

qkdreyer opened this issue · 5 comments

  1x: The "Symfony\Component\Console\Command\Command::$defaultName" property is considered final. You should not override it in "Enqueue\Symfony\Consumption\ConfigurableConsumeCommand".

  1x: The "Symfony\Component\Console\Command\Command::$defaultName" property is considered final. You should not override it in "Enqueue\Symfony\Client\ConsumeCommand".

  1x: The "Symfony\Component\Console\Command\Command::$defaultName" property is considered final. You should not override it in "Enqueue\Symfony\Client\ProduceCommand".

  1x: The "Symfony\Component\Console\Command\Command::$defaultName" property is considered final. You should not override it in "Enqueue\Symfony\Client\SetupBrokerCommand".

  1x: The "Symfony\Component\Console\Command\Command::$defaultName" property is considered final. You should not override it in "Enqueue\Symfony\Client\RoutesCommand".

  1x: Since symfony/console 6.1: Relying on the static property "$defaultName" for setting a command name is deprecated. Add the "Symfony\Component\Console\Attribute\AsCommand" attribute to the "Enqueue\Symfony\Consumption\ConfigurableConsumeCommand" class instead.

  1x: Since symfony/console 6.1: Relying on the static property "$defaultName" for setting a command name is deprecated. Add the "Symfony\Component\Console\Attribute\AsCommand" attribute to the "Enqueue\Symfony\Client\ConsumeCommand" class instead.

  1x: Since symfony/console 6.1: Relying on the static property "$defaultName" for setting a command name is deprecated. Add the "Symfony\Component\Console\Attribute\AsCommand" attribute to the "Enqueue\Symfony\Client\ProduceCommand" class instead.

  1x: Since symfony/console 6.1: Relying on the static property "$defaultName" for setting a command name is deprecated. Add the "Symfony\Component\Console\Attribute\AsCommand" attribute to the "Enqueue\Symfony\Client\SetupBrokerCommand" class instead.

  1x: Since symfony/console 6.1: Relying on the static property "$defaultName" for setting a command name is deprecated. Add the "Symfony\Component\Console\Attribute\AsCommand" attribute to the "Enqueue\Symfony\Client\RoutesCommand" class instead.

May I please get this assigned to me

ruudk commented

@phillipsb22 Please create the PR 🙏 If it helps, I hereby assign it to you 😉

Solved by #1311 and release in 0.10.20

this notices are still present, I've made Pr to solve this
#1350