Deprecated warnings
Simoneu01 opened this issue · comments
Simone commented
I got these warnings with this package:
[2022-12-22 23:49:49] local.WARNING: 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 "Cog\Laravel\Love\Console\Commands\ReactionTypeAdd" class instead. in /home/project/vendor/symfony/deprecation-contracts/function.php on line 25
[2022-12-22 23:49:49] local.WARNING: 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 "Cog\Laravel\Love\Console\Commands\Recount" class instead. in /home/project/vendor/symfony/deprecation-contracts/function.php on line 25
[2022-12-22 23:49:49] local.WARNING: 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 "Cog\Laravel\Love\Console\Commands\SetupReactable" class instead. in /home/project/vendor/symfony/deprecation-contracts/function.php on line 25
[2022-12-22 23:49:49] local.WARNING: 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 "Cog\Laravel\Love\Console\Commands\SetupReacterable" class instead. in /home/project/vendor/symfony/deprecation-contracts/function.php on line 25
[2022-12-22 23:49:49] local.WARNING: 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 "Cog\Laravel\Love\Console\Commands\RegisterReactants" class instead. in /home/project/vendor/symfony/deprecation-contracts/function.php on line 25
[2022-12-22 23:49:49] local.WARNING: 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 "Cog\Laravel\Love\Console\Commands\RegisterReacters" class instead. in /home/project/vendor/symfony/deprecation-contracts/function.php on line 25
[2022-12-22 23:49:49] local.WARNING: 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 "Cog\Laravel\Love\Console\Commands\UpgradeV5ToV6" class instead. in /home/project/vendor/symfony/deprecation-contracts/function.php on line 25
[2022-12-22 23:49:49] local.WARNING: 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 "Cog\Laravel\Love\Console\Commands\UpgradeV7ToV8" class instead. in /home/project/vendor/symfony/deprecation-contracts/function.php on line 25
Anton Komarev commented
@Simoneu01 Thank you for the report. What Laravel version are you using?
Simone commented
Composer version 2.3.7 2022-06-06 16:43:28
laravel/framework: version: v9.45.1
Anton Komarev commented
@Simoneu01 it's okay to use package as is for now. It will work until Laravel v10. I've started to upgrade package in #215 to make it ready for L10.
Anton Komarev commented
@Simoneu01 I've fixed deprecation in master branch. It will be released in next package major version (v9).