Skip to content
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

Allow empty tag list #553

Merged
merged 3 commits into from
Jan 22, 2024
Merged

Allow empty tag list #553

merged 3 commits into from
Jan 22, 2024

Conversation

ro0NL
Copy link
Contributor

@ro0NL ro0NL commented Jan 19, 2024

Fixes array_chunk(): Argument #2 ($length) must be greater than 0 and removes the need for redundant boilerplate if everywhere.

Copy link
Contributor

@dbu dbu left a comment

Choose a reason for hiding this comment

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

thanks, makes sense to do it like that.

lets make it consistent though: TagCapable is implemented by many clients. lets document on the interface that an empty tag list is ignored, and fix all the other clients as well. can you adjust that?

and can you please add a changelog entry for it, so people are aware of it?

@ro0NL
Copy link
Contributor Author

ro0NL commented Jan 22, 2024

@dbu done

Copy link
Contributor

@dbu dbu left a comment

Choose a reason for hiding this comment

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

thanks!

CHANGELOG.md Outdated Show resolved Hide resolved
@dbu dbu merged commit e446b18 into FriendsOfSymfony:3.x Jan 22, 2024
14 of 15 checks passed
@ro0NL ro0NL deleted the patch-1 branch January 22, 2024 11:43
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.

2 participants