Skip to content

Conversation

@pierreboissinot
Copy link
Member

No description provided.

@lucasmirloup
Copy link
Member

lucasmirloup commented Dec 11, 2025

Merci Pierre 👍

Pour info, en Symfony 8+, si je ne dis pas de bêtises, les commandes migrées en __invoke() (faisable à l'aide de Rector) deviennent lazy par défaut.

@pierreboissinot
Copy link
Member Author

pierreboissinot commented Dec 11, 2025

Merci Pierre 👍

Pour info, en Symfony 8+, si je ne dis pas de bêtises, les commandes migrées en __invoke() (faisable à l'aide de Rector) deviennent lazy par défaut.

Sûrement, il y a aussi l'attribute AsCommand qui remplace la prop static defaultName mais je ne voulais pas faire de bc break par rapport au support de PHP 7

Copy link
Member

@lucasmirloup lucasmirloup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thislg
Copy link
Member

thislg commented Dec 11, 2025

On supporte Symfony 5.4 et plus.

Copy link
Member

@thislg thislg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK à part une question.

@thislg thislg self-requested a review December 11, 2025 16:07
@thislg thislg merged commit 5c89f70 into master Dec 11, 2025
7 checks passed
@thislg thislg deleted the service-lazy branch December 11, 2025 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants