You've already forked wc-composable-product
-
Release 1.3.1
StableAll checks were successfulreleased this
2026-03-01 12:25:27 +00:00 | 2 commits to main since this releaseAdded
- PHPUnit test suite: 57 unit tests covering all 6 core classes (ProductType, StockManager, CartHandler, Plugin, Admin/ProductData, Admin/Settings)
- Brain Monkey + Mockery for WordPress/WooCommerce function mocking without a full WP installation
- WooCommerce class stubs in
tests/stubs/for classes extended by the plugin (WC_Product, WC_Settings_Page, etc.) - PHPCS with WordPress-Extra and PHPCompatibilityWP coding standards (
phpcs.xml.dist) - PHPCS job in release workflow — coding standards must pass before release is built
- PHP lint job in release workflow — syntax-checks all PHP files before testing
- Test job in release workflow — tests must pass before release package is built
- Testing and linting sections in README and CLAUDE.md
Changed
- PSR-4 refactored: Renamed files to PascalCase (Product_Type → ProductType, etc.) and changed namespace from
WC_Composable_ProducttoMagdev\WcComposableProduct - Updated all cross-references in PHP files, main plugin file, composer.json, CSS/JS doc comments, and translation file source comments
- PHPUnit upgraded from 9.6 to 10 (Brain Monkey 2.7 supports both)
- WPCS formatting applied to all source files (tabs, Yoda conditions, strict
in_array,wp_json_encode, long array syntax) - Release workflow now has four stages: lint + phpcs (parallel) → test → build-release
- Composer platform pinned to PHP 8.3 to prevent incompatible dependency locks
Downloads