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

Don't capitalize acronyms in class names #19875

Merged
merged 1 commit into from May 10, 2024

Conversation

javiereguiluz
Copy link
Member

PHP has approved a new policy banning the usage of capitalized acronyms in class names (https://wiki.php.net/rfc/class-naming-acronyms):

Wrong Correct
FooDTO FooDto
HTTPFoo HttpFoo
PDOFooPHP PdoFooPhp

So, I propose to use this same policy for Symfony Docs.

Note: we need to be careful because some class are defined by external projects and the use the "wrong" names (ReactPHPRunner, etc.)

@javiereguiluz javiereguiluz added this to the 6.4 milestone May 9, 2024
@OskarStark
Copy link
Contributor

Thank you Javier.

@OskarStark OskarStark merged commit f677eb4 into symfony:6.4 May 10, 2024
3 checks passed
@javiereguiluz javiereguiluz deleted the class_acronyms branch May 10, 2024 16:01
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.

None yet

2 participants