Skip to content

Conversation

@ZiadMarey
Copy link
Contributor

@ZiadMarey ZiadMarey commented Nov 5, 2025

SONARPHP-1747

Part of

This PR adds WordPress as a recognized framework within FunctionNameCheck.java.

A user inquiry highlighted that WordPress function naming conventions, which commonly use snake_case and accept numbers (e.g., function_name_123), were not explicitly supported by the existing checks. This change applies the appropriate snake_case pattern to WordPress function names, aligning the codebase's validation with common WordPress coding standards.


Open in Cursor Open in Web

@cursor
Copy link

cursor bot commented Nov 5, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@hashicorp-vault-sonar-prod hashicorp-vault-sonar-prod bot changed the title Check wordpress snake_case naming convention for numbers SONARPHP-1747 Check wordpress snake_case naming convention for numbers Nov 5, 2025
@sonarqube-next
Copy link

sonarqube-next bot commented Nov 5, 2025

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
0 Dependency risks
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@ZiadMarey ZiadMarey closed this Nov 5, 2025
@ZiadMarey ZiadMarey deleted the cursor/check-wordpress-snake-case-naming-convention-for-numbers-3ac9 branch November 14, 2025 11:14
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.

2 participants