cc6acc2a4e
Fix: Address CI failures
...
- Move @phpcs:ignore for unused param above function signature.
- Add WP_Mock for admin_url() in AdminTest to fix PHPUnit error.
2025-04-18 19:55:20 +01:00
ed7d33e2aa
Fix: Mock wp_localize_script in AdminTest
...
- Adds WP_Mock::userFunction for wp_localize_script to resolve PHPUnit error.
Fix: Revert underscore prefix for unused param
- Removes underscore from hook_suffix in Admin class.
- Relies on existing @phpcs:ignore directive.
2025-04-18 19:53:40 +01:00
fb8a998487
Fix: Use WP_Mock::userFunction in AdminTest
...
- Replaces deprecated expectFunction with userFunction.
- Fixes PHPUnit failure in CI.
Fix: Address PHPCS warning for unused param
- Prefixes unused with underscore in Admin class.
2025-04-18 19:51:25 +01:00
2ac9b046b5
Build: Force clean checkout in CI
2025-04-18 19:46:27 +01:00
d1c5950dcb
Build: Ensure composer.lock matches local state
2025-04-18 19:44:06 +01:00
2e9914e325
Build: Add debug step to print test file content in CI
2025-04-18 19:39:51 +01:00
b9fa979600
Build: Update checkout action and clear composer cache in CI
2025-04-18 19:37:17 +01:00
2a025ec18c
Fix: Final PHPCS formatting and WP_Mock expectations for AdminTest
2025-04-18 19:17:51 +01:00
95e4361cd5
Fix: Correct AdminTest setup and PHPCS docblock formatting
2025-04-18 19:16:11 +01:00
6d9a9658ea
Fix: Address CoreTest PHPUnit compatibility and remaining PHPCS issues
2025-04-18 19:13:39 +01:00
7051fb1193
Fix: Regenerate composer.lock for PHP 7.4 compatibility
2025-04-18 19:12:16 +01:00
6527fde363
Feat: Raise minimum PHP requirement to 7.4
2025-04-18 19:10:45 +01:00
643f5c6d41
Fix: Resolve CI dependency conflicts and PHPCS/PHPUnit errors
2025-04-18 19:07:05 +01:00
b7bf97d5b4
CI: Fix PHPCS paths and PHP 8.0 dependency handling
2025-04-18 19:04:20 +01:00
a5d3c09243
Fix: Correct PHPUnit test assertion and install PHPCS composer installer
2025-04-18 19:01:47 +01:00
c7435f5a49
Fix tests: Update Admin class to match test expectations and use correct WP_Mock assertions
2025-04-18 18:58:47 +01:00
aa136c7a4a
Test: Use WP_Mock::onActionAdded assertion instead of userFunction for add_action
2025-04-18 18:55:29 +01:00
455edb99f9
Debug: Add error_log statements to Admin constructor and initialize_hooks for test tracing
2025-04-18 18:52:55 +01:00
584d774931
Fix: Prefix add_action with backslash in Admin class for WP_Mock compatibility
2025-04-18 18:50:14 +01:00
b2b8af4216
Fix unit test: set up add_action mock before Admin instantiation and use Mockery::type('callable') for callback argument
2025-04-18 18:47:42 +01:00
a0df887d5c
Fix: Instantiate Admin before setting add_action mock to use correct object reference
2025-04-18 18:44:29 +01:00
4d69c446db
Fix: Use WP_Mock::userFunction for add_action instead of expectActionAdded
2025-04-18 18:41:06 +01:00
4441106963
Fix: Remove unnecessary is_admin mock from AdminTest
2025-04-18 18:36:54 +01:00
35f50aa03b
Fix: Add classmap for Admin class to fix PHPUnit 7.0 autoloading
2025-04-18 18:34:32 +01:00
6d3aeb889a
Fix: Address PHPCS errors and PHPUnit 7.0 Mockery failure
2025-04-18 18:32:13 +01:00
b18f1c46b4
Feat: Implement Admin class structure and instantiate in Plugin
2025-04-18 18:29:11 +01:00
bcdbbb454c
Revert: wp_mock to 0.3.0 and remove :void from AdminTest::setUp
2025-04-18 18:25:03 +01:00
3d739915d7
Fix: Add void return type to AdminTest::setUp and revert wp_mock constraint
2025-04-18 18:22:42 +01:00
51183c378e
Fix: Correct PHPCS alignment and update wp_mock constraint
2025-04-18 18:19:48 +01:00
71c0a77a31
Fix: Update PHPUnit bootstrap and fix comment punctuation
2025-04-18 18:16:31 +01:00
0e219975ae
Build: Remove composer.lock and use composer update in CI
2025-04-18 18:12:16 +01:00
058ae4b64e
Fix: Rename class files and apply coding standard fixes
2025-04-18 18:08:51 +01:00
3fa42ae1c7
Docs: Update release process with tag existence check
2025-04-18 18:03:23 +01:00
275958bfdb
Fix: Apply latest phpcbf formatting fixes
2025-04-18 18:01:52 +01:00
93412896e8
Align package.json version with plugin version (0.1.7)
2025-04-18 17:58:12 +01:00
6784ef4824
Add assets and wiki directories
2025-04-18 17:56:38 +01:00
0874c4f59e
Apply stashed changes after merging test workflow fix
2025-04-18 17:54:07 +01:00
4696cdfba6
Merge pull request #5 from wpallstars/fix/test-workflow-v3
...
Fix: Update test workflow for PHP 7.0 compatibility
2025-04-18 17:45:15 +01:00
1cf46254b7
Fix: Update test workflow for PHP 7.0 compatibility
2025-04-18 17:42:18 +01:00
3c1db9d4fb
Merge pull request #3 from wpallstars/fix/test-workflow
...
Fix test workflow issues with WP_Mock and PHP 7.0 compatibility
2025-04-18 15:53:29 +01:00
bfa528c90e
Fix test workflow issues with WP_Mock and PHP 7.0 compatibility
2025-04-18 15:46:16 +01:00
233a64913b
Merge pull request #2 from wpallstars/version/0.1.7
...
Add missing wiki pages and fix Plugin class constructor
2025-04-18 15:38:51 +01:00
1c049a91c5
Add missing wiki pages and fix Plugin class constructor
2025-04-18 15:32:13 +01:00
1e2f7a5cd8
Merge pull request #1 from wpallstars/version/0.1.7
...
Bump version to 0.1.7 with workflow name improvements and test fixes
2025-04-18 15:22:29 +01:00
7072f21d49
Bump version to 0.1.7 with workflow name improvements and test fixes
2025-04-18 15:19:32 +01:00
af48e84614
Fix wiki navigation, update wiki changelog, improve documentation, and fix tests workflow
2025-04-18 15:05:49 +01:00
5083fcee50
Update wiki Home page with latest version information
2025-04-18 14:47:38 +01:00
79d1314aed
Update version to 0.1.6 with GitHub Actions workflow permissions fix
2025-04-18 14:46:05 +01:00
2f4d88f8dd
Add explicit permissions to GitHub Actions workflows
2025-04-18 14:43:19 +01:00
bfac63799b
Update to version 0.1.5 with testing setup, multisite compatibility, and npm scripts
2025-04-18 14:32:46 +01:00