From a2d9609e5d50651c36b85090f583f95efce8d8f7 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Sat, 1 May 2021 21:38:11 +0100 Subject: [PATCH] chore: lint --- src/admin/layout/class-engine.php | 1 + src/admin/layout/class-init.php | 1 + src/admin/layout/class-settings.php | 1 + src/footnotes.php | 1 - src/includes/class-activator.php | 6 +++--- src/includes/class-config.php | 8 ++++---- src/includes/class-core.php | 10 +++++----- src/includes/class-i18n.php | 2 +- src/includes/class-settings.php | 2 +- src/public/class-general.php | 1 + src/public/class-parser.php | 3 ++- src/public/widget/class-base.php | 1 + src/public/widget/class-reference-container.php | 1 + 13 files changed, 22 insertions(+), 16 deletions(-) diff --git a/src/admin/layout/class-engine.php b/src/admin/layout/class-engine.php index 6f4c2b7..212513e 100644 --- a/src/admin/layout/class-engine.php +++ b/src/admin/layout/class-engine.php @@ -14,6 +14,7 @@ */ namespace footnotes\admin\layout; + use footnotes\includes as Includes; require_once plugin_dir_path( dirname( __FILE__ ) ) . 'layout/class-init.php'; diff --git a/src/admin/layout/class-init.php b/src/admin/layout/class-init.php index 4e567c8..4363a93 100644 --- a/src/admin/layout/class-init.php +++ b/src/admin/layout/class-init.php @@ -14,6 +14,7 @@ */ namespace footnotes\admin\layout; + use footnotes\includes as Includes; /** diff --git a/src/admin/layout/class-settings.php b/src/admin/layout/class-settings.php index 2b7dbde..923d618 100644 --- a/src/admin/layout/class-settings.php +++ b/src/admin/layout/class-settings.php @@ -14,6 +14,7 @@ */ namespace footnotes\admin\layout; + use footnotes\includes as Includes; /** diff --git a/src/footnotes.php b/src/footnotes.php index 40ad273..6a1431a 100755 --- a/src/footnotes.php +++ b/src/footnotes.php @@ -27,7 +27,6 @@ namespace footnotes; - // If this file is called directly, abort. if ( ! defined( 'WPINC' ) ) { die; diff --git a/src/includes/class-activator.php b/src/includes/class-activator.php index d8f9380..c11e313 100644 --- a/src/includes/class-activator.php +++ b/src/includes/class-activator.php @@ -1,13 +1,13 @@