Commit Graph

4 Commits

Author SHA1 Message Date
788bb6104f Fix SonarCloud PHP code quality issues
- Replace tabs with spaces in test files
- Use require_once instead of require
- Add @return void to docblocks
- Define constants for repeated string literals
- Use WordPress spacing conventions
- Add use statements for cleaner class references
2025-11-24 22:20:13 +00:00
bb6de9a3cb Fix test conflicts between WP_Mock and WordPress unit tests
- Add guards to WP_Mock tests to skip when WP_UnitTestCase is available
- Add guards to WordPress unit tests to skip when WP_UnitTestCase is not available
- Add @group annotations for test separation
2025-11-24 19:41:45 +00:00
db8c84a80a Fix PHPUnit tests and SonarCloud analysis 2025-04-23 04:33:55 +01:00
5f598f0f7e Add PHPUnit testing framework and error checking documentation 2025-04-22 22:42:11 +01:00