diff --git a/modules.php b/modules.php index 792aa636e..21a4e645e 100644 --- a/modules.php +++ b/modules.php @@ -5,10 +5,11 @@ * @package WooCommerce\PayPalCommerce */ +namespace WooCommerce\PayPalCommerce; + use WooCommerce\PayPalCommerce\PayLaterBlock\PayLaterBlockModule; use WooCommerce\PayPalCommerce\PayLaterWCBlocks\PayLaterWCBlocksModule; use WooCommerce\PayPalCommerce\PayLaterConfigurator\PayLaterConfiguratorModule; -use WooCommerce\PayPalCommerce\PluginModule; return function ( string $root_dir ): iterable { $modules_dir = "$root_dir/modules"; diff --git a/scoper.inc.php b/scoper.inc.php index 57e9b8a9a..b253a18e7 100644 --- a/scoper.inc.php +++ b/scoper.inc.php @@ -7,6 +7,8 @@ declare(strict_types=1); +namespace WooCommerce\PayPalCommerce; + use Isolated\Symfony\Component\Finder\Finder; $finders = array( diff --git a/uninstall.php b/uninstall.php index 26fa6cb67..7ae2763b4 100644 --- a/uninstall.php +++ b/uninstall.php @@ -7,6 +7,8 @@ declare(strict_types=1); +namespace WooCommerce\PayPalCommerce; + use WooCommerce\PayPalCommerce\Uninstall\ClearDatabaseInterface; use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerInterface; use WooCommerce\PayPalCommerce\WcGateway\Settings\Settings;