Skip to content

Warning from symfony/console when running composer run dev #55887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jasonlav opened this issue May 29, 2025 · 1 comment
Open

Warning from symfony/console when running composer run dev #55887

jasonlav opened this issue May 29, 2025 · 1 comment
Labels

Comments

@jasonlav
Copy link

Laravel Version

12.16.0

PHP Version

8.3.14

Database Driver & Version

No response

Description

When running composer run dev, there is a repeated truncated warning from symfony/console 7.3:

[logs] WARNING Since symfony/console 7.3: Method "Symfony\Component\Console\Command\Comman...

Unable to see the full warning. No warning is reported in storage/logs.

Steps To Reproduce

  1. Create a Laravel application with the latest version of Laravel Installer (5.15.0).
  2. Run composer run dev.
  3. See warning in console
@CodeWithKyrian
Copy link
Contributor

Same issue here. Here's the full log

{"message":"Since symfony/console 7.3: Method \"Symfony\\Component\\Console\\Command\\Command::getDefaultDescription()\" is deprecated and will be removed in Symfony 8.0, use the #[AsCommand] attribute instead. in /Users/Kyrian/Packages/filament-daterange-picker/playground/vendor/symfony/deprecation-contracts/function.php on line 25","context":{"__pail":{"origin":{"type":"console","command":null,"trace":null}}},"level":300,"level_name":"WARNING","channel":"pail","datetime":"2025-05-30T11:46:28.118492+00:00","extra":{}}

taylorotwell pushed a commit that referenced this issue May 30, 2025
)

* [11.x] Fixes Symfony Console 7.3 deprecations on closure command

fixes #55887

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

---------

Signed-off-by: Mior Muhammad Zaki <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants