Mike Jolley
760ad3fa3b
StoreAPI: Inject Order and Cart Controllers into Routes ( https://github.com/woocommerce/woocommerce-blocks/pull/3871 )
...
* Inject cart_controller into cart routes
* Inject order controller
* Remove todo
* Move reserve stock instance
2021-02-22 11:49:25 +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
92985bd201
Fix missing permissions_callback arg in StoreApi route definitions ( https://github.com/woocommerce/woocommerce-blocks/pull/2926 )
...
* make sure permission_callback is set correctly for all public routes
* add permission_callback definition to all routes
2020-07-29 10:39:54 +02: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