Add namespaces to root files

This commit is contained in:
Narek Zakarian 2025-01-15 18:13:07 +04:00
parent 6e9da9e958
commit 09e17a8cfb
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7
3 changed files with 6 additions and 1 deletions

View file

@ -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";

View file

@ -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(

View file

@ -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;