Skip to content

Conversation

@bastianallgeier
Copy link
Member

Description

After @afbora's last PR, I had a couple ideas how we can optimize the command some more with a new dry-run option and a check for current changes.

@bastianallgeier bastianallgeier force-pushed the refact/clean-command-improvements branch from 79f4770 to 6e09f49 Compare November 20, 2025 15:23
@distantnative distantnative requested a review from afbora November 20, 2025 15:24
@bastianallgeier bastianallgeier force-pushed the refact/clean-command-improvements branch from 6e09f49 to 152314d Compare November 20, 2025 15:24
@distantnative distantnative removed the request for review from afbora November 20, 2025 15:24
@morja
Copy link

morja commented Nov 20, 2025

Hi @bastianallgeier this actually fails my test case again (maybe integrate the test? I linked it in the other PR). The update method needs $lang.

And thanks for the improvements!

@bastianallgeier
Copy link
Member Author

Sorry, that was a pretty stupid oversight on my end. Of course it does. I've just added it back.

Generator $collection,
array|null $ignore = null,
string|null $lang = null
string $lang = 'default',
Copy link
Member

@afbora afbora Nov 20, 2025

Choose a reason for hiding this comment

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

Even though we only send a language object for one language, why do we accept default as a fallback? Do you think there's a case where this parameter called with default argument?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants