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

[NFC] Fix capitalization of class names #26428

Merged
merged 1 commit into from
Jun 4, 2023

Conversation

braders
Copy link
Contributor

@braders braders commented Jun 4, 2023

Overview

Fix capitalization of class names.

This updates the dozen instances across CiviCRM core where classes were being used with different capitalisation than is used where the class is defined.

Technical Details

Whilst classes are case-insensitive in PHP I still think this makes sense:

  • Consistency is good,
  • Can avoid confusing if doing a search with case-sensitivity turned on,
  • Avoid warnings in certain static analysis tools

@civibot
Copy link

civibot bot commented Jun 4, 2023

(Standard links)

@civibot civibot bot added the master label Jun 4, 2023
@braders
Copy link
Contributor Author

braders commented Jun 4, 2023

Jenkins, test this please

@demeritcowboy demeritcowboy merged commit 465a30a into civicrm:master Jun 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants