woocommerce/tests/php
Nestor Soriano 65b5cbe692 Improve AbstractServiceProvider::add_with_auto_arguments
If a class name is passed as a concrete, check that the class
constructor is public if it exists. If another type of concrete is
passed, check that it's valid (a callback or an object).

Also update the autoloader to check if the class file exists,
otherwise class_exists fails if a namespaced class doesn't exist.
2020-07-24 09:25:11 +02:00
..
includes Merge pull request #27043 from woocommerce/fix/unit-test-suite 2020-07-20 08:40:00 -07:00
src Improve AbstractServiceProvider::add_with_auto_arguments 2020-07-24 09:25:11 +02:00