Skip to content

Deprecation warnings in Symfony 7.3 #381

Closed
@tacman

Description

@tacman

I'm testing with Symfony 7.3 beta 2 and seeing these messages. They are relatively easy to fix, rector even has a rule for them, but they only work with PHP 8 because of attributes.


  1x: Since symfony/console 7.3: Overriding "Command::getDefaultName()" in "Meilisearch\Bundle\Command\MeilisearchClearCommand" is deprecated 
and will be removed in Symfony 8.0, use the #[AsCommand] attribute instead.


  1x: Since symfony/console 7.3: Overriding "Command::getDefaultDescription()" in "Meilisearch\Bundle\Command\MeilisearchClearCommand" is deprecated and will be removed in Symfony 8.0, use the #[AsCommand] attribute instead.
    1x in BaseVisitLinksTest::linksToVisit from Survos\CrawlerBundle\Tests

  1x: Since symfony/console 7.3: Overriding "Command::getDefaultName()" in "Meilisearch\Bundle\Command\MeilisearchCreateCommand" is deprecated and will be removed in Symfony 8.0, use the #[AsCommand] attribute instead.
    1x in BaseVisitLinksTest::linksToVisit from Survos\CrawlerBundle\Tests

  1x: Since symfony/console 7.3: Overriding "Command::getDefaultDescription()" in "Meilisearch\Bundle\Command\MeilisearchCreateCommand" is deprecated and will be removed in Symfony 8.0, use the #[AsCommand] attribute instead.
    1x in BaseVisitLinksTest::linksToVisit from Survos\CrawlerBundle\Tests

  1x: Since symfony/console 7.3: Overriding "Command::getDefaultName()" in "Meilisearch\Bundle\Command\MeilisearchDeleteCommand" is deprecated and will be removed in Symfony 8.0, use the #[AsCommand] attribute instead.
    1x in BaseVisitLinksTest::linksToVisit from Survos\CrawlerBundle\Tests

  1x: Since symfony/console 7.3: Overriding "Command::getDefaultDescription()" in "Meilisearch\Bundle\Command\MeilisearchDeleteCommand" is deprecated and will be removed in Symfony 8.0, use the #[AsCommand] attribute instead.
    1x in BaseVisitLinksTest::linksToVisit from Survos\CrawlerBundle\Tests

  1x: Since symfony/console 7.3: Overriding "Command::getDefaultName()" in "Meilisearch\Bundle\Command\MeilisearchImportCommand" is deprecated and will be removed in Symfony 8.0, use the #[AsCommand] attribute instead.
    1x in BaseVisitLinksTest::linksToVisit from Survos\CrawlerBundle\Tests

  1x: Since symfony/console 7.3: Overriding "Command::getDefaultDescription()" in "Meilisearch\Bundle\Command\MeilisearchImportCommand" is deprecated and will be removed in Symfony 8.0, use the #[AsCommand] attribute instead.
    1x in BaseVisitLinksTest::linksToVisit from Survos\CrawlerBundle\Tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions