Skip to content

Conversation

stakovicz
Copy link

@stakovicz stakovicz commented Apr 4, 2025

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #57464
License MIT

[String] ByteString::snake and AbstractUnitcodeString::snake methods doesn't convert all uppercase words in the right way.

For example, string "GREAT SYMFONY" is converted to "greatsymfony" instead of "great_symfony" and there is a problem with numbers.

@carsonbot
Copy link

Hey!

Thanks for your PR. You are targeting branch "7.3" but it seems your PR description refers to branch "6.4".
Could you update the PR description or change target branch? This helps core maintainers a lot.

Cheers!

Carsonbot

@stakovicz stakovicz changed the base branch from 7.3 to 6.4 April 4, 2025 12:09
@alexandre-daubois alexandre-daubois modified the milestones: 7.3, 6.4 Apr 4, 2025
@Seb33300
Copy link
Contributor

Seb33300 commented Apr 6, 2025

I am almost sure this was already rejected before, but I cannot find the PR.
I just found that one trying to introduce another method: #34781

edit: just found it! #49339

@nicolas-grekas
Copy link
Member

See #57788

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

Successfully merging this pull request may close these issues.

u('Principal SIS ID')->snake() return principal_sisid, not principal_sis_id
5 participants