From 4643dec114140781c5d03d26b9038dae614fb671 Mon Sep 17 00:00:00 2001 From: Yahnis Elsts Date: Thu, 18 Apr 2019 22:53:23 +0300 Subject: [PATCH] Minor: Add newlines to the end of each file. Some code analysers require this. --- Puc/v4/Factory.php | 2 +- Puc/v4p6/Autoloader.php | 2 +- Puc/v4p6/DebugBar/Panel.php | 2 +- Puc/v4p6/DebugBar/PluginExtension.php | 2 +- Puc/v4p6/DebugBar/PluginPanel.php | 2 +- Puc/v4p6/DebugBar/ThemePanel.php | 2 +- Puc/v4p6/InstalledPackage.php | 2 +- Puc/v4p6/Metadata.php | 2 +- Puc/v4p6/OAuthSignature.php | 2 +- Puc/v4p6/Plugin/Info.php | 2 +- Puc/v4p6/Plugin/Package.php | 2 +- Puc/v4p6/Plugin/Ui.php | 2 +- Puc/v4p6/Plugin/Update.php | 2 +- Puc/v4p6/Theme/Package.php | 2 +- Puc/v4p6/Theme/Update.php | 2 +- Puc/v4p6/Update.php | 2 +- Puc/v4p6/UpgraderStatus.php | 2 +- Puc/v4p6/Utils.php | 2 +- Puc/v4p6/Vcs/BaseChecker.php | 2 +- Puc/v4p6/Vcs/GitHubApi.php | 2 +- Puc/v4p6/Vcs/PluginUpdateChecker.php | 2 +- Puc/v4p6/Vcs/Reference.php | 2 +- Puc/v4p6/Vcs/ThemeUpdateChecker.php | 2 +- composer.json | 2 +- plugin-update-checker.php | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Puc/v4/Factory.php b/Puc/v4/Factory.php index 7311130..1fd3f0f 100644 --- a/Puc/v4/Factory.php +++ b/Puc/v4/Factory.php @@ -3,4 +3,4 @@ if ( !class_exists('Puc_v4_Factory', false) ): class Puc_v4_Factory extends Puc_v4p6_Factory { } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/Autoloader.php b/Puc/v4p6/Autoloader.php index 9da9ea8..9c9cec7 100644 --- a/Puc/v4p6/Autoloader.php +++ b/Puc/v4p6/Autoloader.php @@ -46,4 +46,4 @@ if ( !class_exists('Puc_v4p6_Autoloader', false) ): } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/DebugBar/Panel.php b/Puc/v4p6/DebugBar/Panel.php index f0a7e66..06a218d 100644 --- a/Puc/v4p6/DebugBar/Panel.php +++ b/Puc/v4p6/DebugBar/Panel.php @@ -162,4 +162,4 @@ if ( !class_exists('Puc_v4p6_DebugBar_Panel', false) && class_exists('Debug_Bar_ } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/DebugBar/PluginExtension.php b/Puc/v4p6/DebugBar/PluginExtension.php index b26e200..c9462ec 100644 --- a/Puc/v4p6/DebugBar/PluginExtension.php +++ b/Puc/v4p6/DebugBar/PluginExtension.php @@ -30,4 +30,4 @@ if ( !class_exists('Puc_v4p6_DebugBar_PluginExtension', false) ): } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/DebugBar/PluginPanel.php b/Puc/v4p6/DebugBar/PluginPanel.php index c9d10c8..47a106e 100644 --- a/Puc/v4p6/DebugBar/PluginPanel.php +++ b/Puc/v4p6/DebugBar/PluginPanel.php @@ -35,4 +35,4 @@ if ( !class_exists('Puc_v4p6_DebugBar_PluginPanel', false) ): } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/DebugBar/ThemePanel.php b/Puc/v4p6/DebugBar/ThemePanel.php index af197c6..ed2734f 100644 --- a/Puc/v4p6/DebugBar/ThemePanel.php +++ b/Puc/v4p6/DebugBar/ThemePanel.php @@ -18,4 +18,4 @@ if ( !class_exists('Puc_v4p6_DebugBar_ThemePanel', false) ): } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/InstalledPackage.php b/Puc/v4p6/InstalledPackage.php index 9d0a44b..da7b17b 100644 --- a/Puc/v4p6/InstalledPackage.php +++ b/Puc/v4p6/InstalledPackage.php @@ -100,4 +100,4 @@ if ( !class_exists('Puc_v4p6_InstalledPackage', false) ): abstract public function getHeaderValue($headerName); } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/Metadata.php b/Puc/v4p6/Metadata.php index 4210fa2..4940f4a 100644 --- a/Puc/v4p6/Metadata.php +++ b/Puc/v4p6/Metadata.php @@ -129,4 +129,4 @@ if ( !class_exists('Puc_v4p6_Metadata', false) ): } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/OAuthSignature.php b/Puc/v4p6/OAuthSignature.php index 49d9ebf..e6ffd48 100644 --- a/Puc/v4p6/OAuthSignature.php +++ b/Puc/v4p6/OAuthSignature.php @@ -97,4 +97,4 @@ if ( !class_exists('Puc_v4p6_OAuthSignature', false) ): } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/Plugin/Info.php b/Puc/v4p6/Plugin/Info.php index 3686ad0..2c97475 100644 --- a/Puc/v4p6/Plugin/Info.php +++ b/Puc/v4p6/Plugin/Info.php @@ -127,4 +127,4 @@ if ( !class_exists('Puc_v4p6_Plugin_Info', false) ): } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/Plugin/Package.php b/Puc/v4p6/Plugin/Package.php index d9eaf00..e880a9f 100644 --- a/Puc/v4p6/Plugin/Package.php +++ b/Puc/v4p6/Plugin/Package.php @@ -181,4 +181,4 @@ if ( !class_exists('Puc_v4p6_Plugin_Package', false) ): } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/Plugin/Ui.php b/Puc/v4p6/Plugin/Ui.php index fed78be..93c22aa 100644 --- a/Puc/v4p6/Plugin/Ui.php +++ b/Puc/v4p6/Plugin/Ui.php @@ -274,4 +274,4 @@ if ( !class_exists('Puc_v4p6_Plugin_Ui', false) ): remove_action('all_admin_notices', array($this, 'displayManualCheckResult')); } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/Plugin/Update.php b/Puc/v4p6/Plugin/Update.php index 448f79f..5939656 100644 --- a/Puc/v4p6/Plugin/Update.php +++ b/Puc/v4p6/Plugin/Update.php @@ -107,4 +107,4 @@ if ( !class_exists('Puc_v4p6_Plugin_Update', false) ): } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/Theme/Package.php b/Puc/v4p6/Theme/Package.php index 61f8d58..d4a6dcc 100644 --- a/Puc/v4p6/Theme/Package.php +++ b/Puc/v4p6/Theme/Package.php @@ -62,4 +62,4 @@ if ( !class_exists('Puc_v4p6_Theme_Package', false) ): } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/Theme/Update.php b/Puc/v4p6/Theme/Update.php index 03364e0..f1a8f67 100644 --- a/Puc/v4p6/Theme/Update.php +++ b/Puc/v4p6/Theme/Update.php @@ -81,4 +81,4 @@ if ( !class_exists('Puc_v4p6_Theme_Update', false) ): } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/Update.php b/Puc/v4p6/Update.php index 92dcdd1..5369e8a 100644 --- a/Puc/v4p6/Update.php +++ b/Puc/v4p6/Update.php @@ -31,4 +31,4 @@ if ( !class_exists('Puc_v4p6_Update', false) ): } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/UpgraderStatus.php b/Puc/v4p6/UpgraderStatus.php index bc9fa01..89f9161 100644 --- a/Puc/v4p6/UpgraderStatus.php +++ b/Puc/v4p6/UpgraderStatus.php @@ -196,4 +196,4 @@ if ( !class_exists('Puc_v4p6_UpgraderStatus', false) ): } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/Utils.php b/Puc/v4p6/Utils.php index e7c859c..6c4f0a9 100644 --- a/Puc/v4p6/Utils.php +++ b/Puc/v4p6/Utils.php @@ -66,4 +66,4 @@ if ( !class_exists('Puc_v4p6_Utils', false) ): } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/Vcs/BaseChecker.php b/Puc/v4p6/Vcs/BaseChecker.php index 126a6f6..85a5715 100644 --- a/Puc/v4p6/Vcs/BaseChecker.php +++ b/Puc/v4p6/Vcs/BaseChecker.php @@ -24,4 +24,4 @@ if ( !interface_exists('Puc_v4p6_Vcs_BaseChecker', false) ): public function getVcsApi(); } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/Vcs/GitHubApi.php b/Puc/v4p6/Vcs/GitHubApi.php index 4a5f540..f5273f6 100644 --- a/Puc/v4p6/Vcs/GitHubApi.php +++ b/Puc/v4p6/Vcs/GitHubApi.php @@ -410,4 +410,4 @@ if ( !class_exists('Puc_v4p6_Vcs_GitHubApi', false) ): } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/Vcs/PluginUpdateChecker.php b/Puc/v4p6/Vcs/PluginUpdateChecker.php index 0a45690..3ca3dad 100644 --- a/Puc/v4p6/Vcs/PluginUpdateChecker.php +++ b/Puc/v4p6/Vcs/PluginUpdateChecker.php @@ -210,4 +210,4 @@ if ( !class_exists('Puc_v4p6_Vcs_PluginUpdateChecker') ): } } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/Vcs/Reference.php b/Puc/v4p6/Vcs/Reference.php index 020c075..fc60eb8 100644 --- a/Puc/v4p6/Vcs/Reference.php +++ b/Puc/v4p6/Vcs/Reference.php @@ -46,4 +46,4 @@ if ( !class_exists('Puc_v4p6_Vcs_Reference', false) ): } -endif; \ No newline at end of file +endif; diff --git a/Puc/v4p6/Vcs/ThemeUpdateChecker.php b/Puc/v4p6/Vcs/ThemeUpdateChecker.php index c29259b..082e456 100644 --- a/Puc/v4p6/Vcs/ThemeUpdateChecker.php +++ b/Puc/v4p6/Vcs/ThemeUpdateChecker.php @@ -115,4 +115,4 @@ if ( !class_exists('Puc_v4p6_Vcs_ThemeUpdateChecker', false) ): } } -endif; \ No newline at end of file +endif; diff --git a/composer.json b/composer.json index 3fb826a..c71cb68 100644 --- a/composer.json +++ b/composer.json @@ -19,4 +19,4 @@ "autoload": { "files": ["plugin-update-checker.php"] } -} \ No newline at end of file +} diff --git a/plugin-update-checker.php b/plugin-update-checker.php index 01ec425..81bbc1e 100644 --- a/plugin-update-checker.php +++ b/plugin-update-checker.php @@ -31,4 +31,4 @@ foreach ( //Also add it to the minor-version factory in case the major-version factory //was already defined by another, older version of the update checker. Puc_v4p6_Factory::addVersion($pucGeneralClass, $pucVersionedClass, '4.6'); -} \ No newline at end of file +}