woocommerce/tests/unit-tests/crud
Rodrigo Primo 6cd08dc7bd Use the spread operator instead of call_user_func_array() in WC_Data_Store
This commit replaces a call to call_user_func_array() in WC_Data_Store::__call() with argument unpacking using the spread operator which was introduced in PHP 5.6. This change should improve WooCommerce performance a tiny bit since WC_Data_Store::__call() is called somewhat frequently and call_user_func_array() has a bad performance reputation. I added one unit test to make sure this change doesn't break the functionality of the altered method.
2019-11-21 11:52:47 -03:00
..
data-store.php Use the spread operator instead of call_user_func_array() in WC_Data_Store 2019-11-21 11:52:47 -03:00
data.php Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
meta.php Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
query.php Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
refunds.php Fix PHPCS errors 2019-07-19 10:19:23 -03:00