mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Add namespaces to root files
This commit is contained in:
parent
6e9da9e958
commit
09e17a8cfb
3 changed files with 6 additions and 1 deletions
|
@ -5,10 +5,11 @@
|
||||||
* @package WooCommerce\PayPalCommerce
|
* @package WooCommerce\PayPalCommerce
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
namespace WooCommerce\PayPalCommerce;
|
||||||
|
|
||||||
use WooCommerce\PayPalCommerce\PayLaterBlock\PayLaterBlockModule;
|
use WooCommerce\PayPalCommerce\PayLaterBlock\PayLaterBlockModule;
|
||||||
use WooCommerce\PayPalCommerce\PayLaterWCBlocks\PayLaterWCBlocksModule;
|
use WooCommerce\PayPalCommerce\PayLaterWCBlocks\PayLaterWCBlocksModule;
|
||||||
use WooCommerce\PayPalCommerce\PayLaterConfigurator\PayLaterConfiguratorModule;
|
use WooCommerce\PayPalCommerce\PayLaterConfigurator\PayLaterConfiguratorModule;
|
||||||
use WooCommerce\PayPalCommerce\PluginModule;
|
|
||||||
|
|
||||||
return function ( string $root_dir ): iterable {
|
return function ( string $root_dir ): iterable {
|
||||||
$modules_dir = "$root_dir/modules";
|
$modules_dir = "$root_dir/modules";
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace WooCommerce\PayPalCommerce;
|
||||||
|
|
||||||
use Isolated\Symfony\Component\Finder\Finder;
|
use Isolated\Symfony\Component\Finder\Finder;
|
||||||
|
|
||||||
$finders = array(
|
$finders = array(
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace WooCommerce\PayPalCommerce;
|
||||||
|
|
||||||
use WooCommerce\PayPalCommerce\Uninstall\ClearDatabaseInterface;
|
use WooCommerce\PayPalCommerce\Uninstall\ClearDatabaseInterface;
|
||||||
use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerInterface;
|
use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerInterface;
|
||||||
use WooCommerce\PayPalCommerce\WcGateway\Settings\Settings;
|
use WooCommerce\PayPalCommerce\WcGateway\Settings\Settings;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue