Skip to content

[CodingStyle] UnderscoreToCamelCaseVariableAndPropertyNameRector#3415

Merged
TomasVotruba merged 2 commits intomasterfrom
coding-style-under
May 25, 2020
Merged

[CodingStyle] UnderscoreToCamelCaseVariableAndPropertyNameRector#3415
TomasVotruba merged 2 commits intomasterfrom
coding-style-under

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

@TomasVotruba TomasVotruba commented May 24, 2020

Closes #3414

@TomasVotruba TomasVotruba merged commit 8c83b60 into master May 25, 2020
@TomasVotruba TomasVotruba deleted the coding-style-under branch May 25, 2020 15:38
@popovserhii
Copy link
Copy Markdown

@TomasVotruba As I understand the UnderscoreToCamelCaseVariableAndPropertyNameRector property is not available any more in the latest release? What should we use instead?

@TomasVotruba
Copy link
Copy Markdown
Member Author

Yes, that's correct. These rules are more about subjective naming conventions, that should be handled by coding standards.
See references coding standard rules #3414

@popovserhii
Copy link
Copy Markdown

This rule was only the reason why I've started to use Rector and was waiting for 4 months while two related issues will be fixed ( #4620, #5392), and now I need to discover another solution.

@TomasVotruba
Copy link
Copy Markdown
Member Author

That was my mistake, that original upgrade/refactoring shifted way too close to coding standards. I'm sorry about that.

The phpdoc fix is still in progress, see #4334

@josep11
Copy link
Copy Markdown

josep11 commented Feb 14, 2023

Hello. It's not on main, right?

@samsonasik
Copy link
Copy Markdown
Member

@josep11 yes, it removed, if you need it, you can check on CodeIgniter4 custom rule for it with customize on based on CodeIgniter4 coding standard, see https://github.com/codeigniter4/CodeIgniter4/blob/develop/utils/Rector/UnderscoreToCamelCaseVariableNameRector.php

TomasVotruba added a commit that referenced this pull request Feb 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CodingStyle] under_score to camelCase variable names

4 participants