diff --git a/lib/Twig/Analytics.php b/lib/Twig/Analytics.php index eb1ff71480..02edff5371 100644 --- a/lib/Twig/Analytics.php +++ b/lib/Twig/Analytics.php @@ -8,7 +8,7 @@ use MailPoet\Settings\SettingsController; use MailPoet\WooCommerce\Helper as WooCommerceHelper; use MailPoetVendor\Twig\Extension\AbstractExtension; use MailPoetVendor\Twig\TwigFunction; -use \MailPoet\WP\Functions as WPFunctions; +use MailPoet\WP\Functions as WPFunctions; if (!defined('ABSPATH')) exit; diff --git a/tasks/code_sniffer/MailPoet/ruleset.xml b/tasks/code_sniffer/MailPoet/ruleset.xml index 91081f3565..e16e52b835 100644 --- a/tasks/code_sniffer/MailPoet/ruleset.xml +++ b/tasks/code_sniffer/MailPoet/ruleset.xml @@ -5,6 +5,8 @@ + +