ContentfulBundle
ContentfulBundle copied to clipboard
The "Symfony\Component\Console\Command\Command::$defaultName" property is considered final.
- The "Symfony\Component\Console\Command\Command::$defaultName" property is considered final. You should not override it in "Contentful\ContentfulBundle\Command\Delivery\InfoCommand".
- The "Symfony\Component\Console\Command\Command::$defaultName" property is considered final. You should not override it in "Contentful\ContentfulBundle\Command\Delivery\DebugCommand".
Resources:
- https://github.com/rectorphp/rector-symfony/blob/main/docs/rector_rules_overview.md#commandpropertytoattributerector
- https://symfony.com/doc/current/console.html
Fixed in #62.
v7.2 somewhat addresses this, but we can't switch to the new syntax yet as it's not supported in PHP7 and therefore not in Symphony 5.4.
@Sebb767 What is the new syntax if you're on PHP8 ?