Mike Jolley
ea52a2a2d5
Drop stock reservation when removing item from cart via the Store API ( https://github.com/woocommerce/woocommerce-blocks/pull/3468 )
...
* Remove Blocks version of ReserveStock Class
* When a cart item is removed, remove holds on stock
* Move maybe_release_stock to abstract
* Update ReserveStockException usage
2020-12-02 16:03:24 +00:00
Claudio Sanches
71c2b5ba21
Remove "package" tag from files inside "src" and "tests/php" ( https://github.com/woocommerce/woocommerce-blocks/pull/2972 )
...
* Don't require package tag or file comment inside src
* Removed package from file headers
* Fixed coding standards
* fix doc blocks for REST API
* update root classes
* update phpdoc blocks for Assets and Block classes
* Domain classes
* update phpdocs for payment classes
* update phpdocs for registry classes
* update utils classes phpdocs
* missed saving one file
Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
2020-09-07 14:01:07 -04:00
Darren Ethier
3078b97534
Fix phpunit test config ( https://github.com/woocommerce/woocommerce-blocks/pull/3001 )
...
* set path for WP install on unit tests to ensure latest is always installed.
* fix tests using deprecated method
2020-08-12 10:54:02 -04:00
Mike Jolley
953712941b
Update StoreApi namespaces/move files ( https://github.com/woocommerce/woocommerce-blocks/pull/2277 )
...
* `use` is never relative - absolute is always used so backslash is not needed
* Move process_legacy_payment code to rest api class
* Move storeapi directory
* Updated namespaces and moved tests
2020-04-22 15:39:19 +01:00