Skip to content

Fix coding standards and add class prefix#20

Open
ilicfilip-bot wants to merge 1 commit into
forkfrom
ai/refactor-1772460615169
Open

Fix coding standards and add class prefix#20
ilicfilip-bot wants to merge 1 commit into
forkfrom
ai/refactor-1772460615169

Conversation

@ilicfilip-bot

Copy link
Copy Markdown
Collaborator

Summary

  • Fix mixed spaces/tabs indentation throughout disable-comments.php (40 auto-fixed + 4 manual fixes)
  • Rename class Disable_CommentsPrpl_Disable_Comments to follow project prefix convention
  • Add missing class docblock with @since tag
  • Fix inline comments to end with periods per WordPress Coding Standards
  • Exclude main plugin file from class-based filename rule in phpcs.xml.dist

All changes are formatting/naming only — no behavioral changes.

Test plan

  • Verify composer check-cs passes with zero errors
  • Confirm plugin still activates and disables comments as expected

🤖 Generated with Claude Code

- Fix mixed spaces/tabs indentation throughout disable-comments.php
- Rename class to Prpl_Disable_Comments to follow project prefix convention
- Add missing class docblock
- Fix inline comments to end with full stops per WordPress standards
- Format multi-line function calls per WPCS rules
- Exclude main plugin file from class-based filename rule in phpcs.xml.dist

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ilicfilip-bot ilicfilip-bot added the ai-refactor Automated AI refactoring label Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-refactor Automated AI refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants