Skip to content

Symfony\Component\Console\Application::add() method is deprecated #36

@joshmiller83

Description

@joshmiller83
Image

Describe the bug or behavior
Upon install and running for the first time, I recieved a PHP error about Symfony deprecations.

To Reproduce
Install on a fresh computer or virtual computer and run with the latest PHP version.

Expected behavior
No errors

Actual behavior
A deprecation error:

ERROR: Since symfony/console 7.4: The "Symfony\Component\Console\Application::add()" method is deprecated and will be removed in Symfony 8.0, use "Symfony\Component\Console\Application::addCommand()" instead.
in phar:///opt/homebrew/Cellar/diffy-cli/0.1.45/bin/diffy/vendor/symfony/deprecation-contracts/function.php:25

Workaround
Doesn't seem to impact functionality.

System Configuration

Q A
Drush version? N/A
Drupal version? N/A
PHP version 8.5.3
OS? Mac

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