Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Validator] [WordCount] Treat 0 as one character word and do not exclude it#60270

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:7.2fromsidz:fix-word-count-validator
Apr 27, 2025

Conversation

sidz
Copy link
Contributor

@sidzsidz commentedApr 25, 2025
edited
Loading

QA
Branch?7.2
Bug fix?yes
New feature?no
Deprecations?no
Issuesno
LicenseMIT

NewWordCount validator has been introduced in the Symfony 7.2 but it has an issue and treats sentence ended on zero (0) as contains an empty string.

This PR adds a callback function intoarray_filter to fix the issue.

@carsonbot

This comment has been minimized.

@sidzsidz changed the base branch from7.3 to7.2April 25, 2025 11:02
@sidz
Copy link
ContributorAuthor

Failed unit tests seems not related to my changes

Copy link
Contributor

@mtarldmtarld left a comment

Choose a reason for hiding this comment

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

Nice catch!

@fabpotfabpot modified the milestones:7.3,7.2Apr 27, 2025
@fabpotfabpotforce-pushed thefix-word-count-validator branch froma801daa to6fded36CompareApril 27, 2025 15:48
@fabpot
Copy link
Member

Thank you@sidz.

sidz reacted with thumbs up emoji

@fabpotfabpot merged commitff10bca intosymfony:7.2Apr 27, 2025
10 of 11 checks passed
@sidzsidz deleted the fix-word-count-validator branchApril 27, 2025 17:07
@fabpotfabpot mentioned this pull requestMay 2, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@fabpotfabpotfabpot approved these changes

@OskarStarkOskarStarkOskarStark approved these changes

@xabbuhxabbuhxabbuh approved these changes

@mtarldmtarldmtarld approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
7.2
Development

Successfully merging this pull request may close these issues.

6 participants
@sidz@carsonbot@fabpot@OskarStark@xabbuh@mtarld

[8]ページ先頭

©2009-2025 Movatter.jp