markitosgv/JWTRefreshTokenBundle

Deprecation warnings with Symfony 5.4 and PHP 8.1

shakaran opened this issue · 2 comments

I am using 2.16 of this bundle, and I am getting this warnings:

Method "Symfony\Component\Config\Definition\ConfigurationInterface::getConfigTreeBuilder()" might add "TreeBuilder" as a native return type declaration in the future. Do the same in implementation "Gesdinet\JWTRefreshTokenBundle\DependencyInjection\Configuration" now to avoid errors or add an explicit @return annotation to suppress this message.

Method "Symfony\Component\Console\Command\Command::execute()" might add "int" as a native return type declaration in the future. Do the same in child class "Gesdinet\JWTRefreshTokenBundle\Command\ClearInvalidRefreshTokensCommand" now to avoid errors or add an explicit @return annotation to suppress this message.

Method "Symfony\Component\Console\Command\Command::execute()" might add "int" as a native return type declaration in the future. Do the same in child class "Gesdinet\JWTRefreshTokenBundle\Command\RevokeRefreshTokenCommand" now to avoid errors or add an explicit @return annotation to suppress this message.

I will appreciate a lot, how get rid of them or which is needed to update for avoid it. Thanks

Same with Symfony 6.3 and gesdinet/jwt-refresh-token-bundle v1.1.1:

image

Fixed with 1.1.2