From 8044fb8591c3242709f90b725c14bfc4386c0370 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 08:42:21 +0100 Subject: [PATCH] chore: lint code --- src/admin/class-footnotes-admin.php | 2 +- src/admin/layout/class-footnotes-layout-engine.php | 2 +- src/admin/layout/class-footnotes-layout-init.php | 6 +++--- src/includes/class-footnotes.php | 4 ++-- src/public/class-footnotes-public.php | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/admin/class-footnotes-admin.php b/src/admin/class-footnotes-admin.php index bf9a136..b242f39 100644 --- a/src/admin/class-footnotes-admin.php +++ b/src/admin/class-footnotes-admin.php @@ -70,7 +70,7 @@ class Footnotes_Admin { * The class responsible for WYSIWYG editor integration. */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-footnotes-wysiwyg.php'; - + /** * The class responsible for constructing the plugin dashboard page(s). */ diff --git a/src/admin/layout/class-footnotes-layout-engine.php b/src/admin/layout/class-footnotes-layout-engine.php index 565bd7e..07a3c59 100644 --- a/src/admin/layout/class-footnotes-layout-engine.php +++ b/src/admin/layout/class-footnotes-layout-engine.php @@ -14,7 +14,7 @@ * @since 2.5.5 Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report. */ -require_once plugin_dir_path( dirname( __FILE__ ) ). 'layout/class-footnotes-layout-init.php'; +require_once plugin_dir_path( dirname( __FILE__ ) ) . 'layout/class-footnotes-layout-init.php'; /** * Layout Engine for the administration dashboard. diff --git a/src/admin/layout/class-footnotes-layout-init.php b/src/admin/layout/class-footnotes-layout-init.php index e766075..3dca904 100644 --- a/src/admin/layout/class-footnotes-layout-init.php +++ b/src/admin/layout/class-footnotes-layout-init.php @@ -38,7 +38,7 @@ class Footnotes_Layout_Init { */ public function __construct() { $this->load_dependencies(); - + $this->settings_page = new Footnotes_Layout_Settings(); // Register hooks/actions. @@ -68,12 +68,12 @@ class Footnotes_Layout_Init { * The class responsible for defining plugin constants. */ require_once plugin_dir_path( dirname( __FILE__, 2 ) ) . 'includes/class-footnotes-config.php'; - + /** * The class responsible for tracking configurable plugin settings. */ require_once plugin_dir_path( dirname( __FILE__, 2 ) ) . 'includes/class-footnotes-settings.php'; - + /** * The class responsible for defining the plugin settings page. */ diff --git a/src/includes/class-footnotes.php b/src/includes/class-footnotes.php index 4df02cc..568a726 100644 --- a/src/includes/class-footnotes.php +++ b/src/includes/class-footnotes.php @@ -110,7 +110,7 @@ class Footnotes { * of the plugin. */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-i18n.php'; - + /** * The various utility classes. */ @@ -165,7 +165,7 @@ class Footnotes { $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' ); $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' ); - $this->loader->add_filter('plugin_action_links_footnotes/footnotes.php', $plugin_admin, 'footnotes_action_links'); + $this->loader->add_filter( 'plugin_action_links_footnotes/footnotes.php', $plugin_admin, 'footnotes_action_links' ); } /** diff --git a/src/public/class-footnotes-public.php b/src/public/class-footnotes-public.php index 3067ef2..3d48b37 100644 --- a/src/public/class-footnotes-public.php +++ b/src/public/class-footnotes-public.php @@ -131,7 +131,7 @@ class Footnotes_Public { /** * Register the stylesheets for the public-facing side of the site. * - * Enables enqueuing the formatted individual stylesheets if `PRODCUTION_ENV` + * Enables enqueuing the formatted individual stylesheets if `PRODCUTION_ENV` * is true (set in `footnotes.php`). * * @since 1.5.0