enqueue-dev icon indicating copy to clipboard operation
enqueue-dev copied to clipboard

Symfony 6.1 deprecations

Open qkdreyer opened this issue 3 years ago • 4 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.

qkdreyer avatar Sep 14 '22 15:09 qkdreyer

May I please get this assigned to me

phillipsb22 avatar Oct 01 '22 14:10 phillipsb22

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

ruudk avatar Aug 14 '23 12:08 ruudk

Solved by https://github.com/php-enqueue/enqueue-dev/pull/1311 and release in 0.10.20

VincentLanglet avatar Dec 20 '23 10:12 VincentLanglet

this notices are still present, I've made Pr to solve this https://github.com/php-enqueue/enqueue-dev/pull/1350

zyv4yk avatar Jun 05 '24 08:06 zyv4yk