secit-pl / imap-bundle

Simple php-imap integration for Symfony
MIT License
69 stars 19 forks source link

A couple of related deprecations #31

Closed ehymel closed 9 months ago

ehymel commented 1 year ago

Using symfony 6.2 and version 2.0.0 of this bundle (secit-pl/imap-bundle), I am getting these deprecations:

The "Symfony\Component\Console\Command\Command::$defaultName" property is considered final. You should not override it in "SecIT\ImapBundle\Command\ValidateConnectionsCommand".

The "Symfony\Component\Console\Command\Command::$defaultDescription" property is considered final. You should not override it in "SecIT\ImapBundle\Command\ValidateConnectionsCommand".

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 "SecIT\ImapBundle\Command\ValidateConnectionsCommand" class instead.

Since symfony/console 6.1: Relying on the static property "$defaultDescription" for setting a command description is deprecated. Add the "Symfony\Component\Console\Attribute\AsCommand" attribute to the "SecIT\ImapBundle\Command\ValidateConnectionsCommand" class instead.

Thank you

ehymel commented 1 year ago

bump

russelomua commented 10 months ago

up

secit-pl commented 9 months ago

Sorry for the lack of response. I have been very busy the last few months.

I'm working on the new version of this bundle with a lot of improvements, it will be released as 3.0.0 about next week.