Closed garak closed 2 years ago
yeah, i think to use the attribute we would have to drop php 7 support and also some of the older symfony versions. symfony 7 is still about 1 year in the future, we can either ignore it until we need to do something for symfony 7 support and then drop old versions, or go with the getDefaultName for now and then change again later. i would tend to ignore for now, its a deprecation but not creating any problems.
but if you want to do a pull request to change it, i can review and merge it.
Sorry, I just realized that this was already fixed in #1472 I guess that at this point we only need a new release... I see that the last one was last May, maybe it could be a good time?
right, thanks for the reminder: https://github.com/liip/LiipImagineBundle/releases/tag/2.9.0
The
$defaultName
property in commands has been deprecated in Symfony 6.1Commands in Symfony 6 should use the
AsCommand
attribute instead. A possible workaround to keep compatibility with older PHP versions is using thegetDefaultName
method instead.