cybercog / laravel-love

Add Social Reactions to Laravel Eloquent Models. It lets people express how they feel about the content. Fully customizable Weighted Reaction System & Reaction Type System with Like, Dislike and any other custom emotion types. Do you react?

Home Page:https://komarev.com/sources/laravel-love

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecated warnings

Simoneu01 opened this issue · comments

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  

@Simoneu01 Thank you for the report. What Laravel version are you using?

@antonkomarev :

Composer version 2.3.7 2022-06-06 16:43:28
laravel/framework: version: v9.45.1

@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.

@Simoneu01 I've fixed deprecation in master branch. It will be released in next package major version (v9).