From db6dec0de10d0ee3b35658ae9f431935d17e8a7c Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Sat, 13 Aug 2016 14:22:22 +0200 Subject: Fix: add missing final newlines, untabify text Signed-off-by: VirtualTam --- application/PluginManager.php | 2 +- application/Router.php | 2 +- plugins/addlink_toolbar/addlink_toolbar.php | 2 +- plugins/playvideos/playvideos.php | 2 +- plugins/wallabag/README.md | 24 ++++++++++++------------ tests/PluginManagerTest.php | 2 +- tests/utils/config/configInvalid.json.php | 2 +- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/application/PluginManager.php b/application/PluginManager.php index dca7e63e..1afc8d5c 100644 --- a/application/PluginManager.php +++ b/application/PluginManager.php @@ -210,4 +210,4 @@ class PluginFileNotFoundException extends Exception { $this->message = 'Plugin "'. $pluginName .'" files not found.'; } -} \ No newline at end of file +} diff --git a/application/Router.php b/application/Router.php index 2c3934b0..caed4a28 100644 --- a/application/Router.php +++ b/application/Router.php @@ -138,4 +138,4 @@ class Router return self::$PAGE_LINKLIST; } -} \ No newline at end of file +} diff --git a/plugins/addlink_toolbar/addlink_toolbar.php b/plugins/addlink_toolbar/addlink_toolbar.php index ba3849cf..cfd74207 100644 --- a/plugins/addlink_toolbar/addlink_toolbar.php +++ b/plugins/addlink_toolbar/addlink_toolbar.php @@ -35,4 +35,4 @@ function hook_addlink_toolbar_render_includes($data) } return $data; -} \ No newline at end of file +} diff --git a/plugins/playvideos/playvideos.php b/plugins/playvideos/playvideos.php index 0a80aa58..7645b778 100644 --- a/plugins/playvideos/playvideos.php +++ b/plugins/playvideos/playvideos.php @@ -37,4 +37,4 @@ function hook_playvideos_render_footer($data) } return $data; -} \ No newline at end of file +} diff --git a/plugins/wallabag/README.md b/plugins/wallabag/README.md index 3f930564..ea21a519 100644 --- a/plugins/wallabag/README.md +++ b/plugins/wallabag/README.md @@ -4,19 +4,19 @@ For each link in your Shaarli, adds a button to save the target page in your [wa ### Installation -Clone this repository inside your `tpl/plugins/` directory, or download the archive and unpack it there. +Clone this repository inside your `tpl/plugins/` directory, or download the archive and unpack it there. The directory structure should look like: -``` +```bash └── tpl └── plugins -    └── wallabag -    ├── README.md -    ├── wallabag.html -    ├── wallabag.meta -    ├── wallabag.php -    ├── wallabag.php -    └── WallabagInstance.php + └── wallabag + ├── README.md + ├── wallabag.html + ├── wallabag.meta + ├── wallabag.php + ├── wallabag.php + └── WallabagInstance.php ``` To enable the plugin, you can either: @@ -28,10 +28,10 @@ To enable the plugin, you can either: Go to the plugin administration page, and edit the following settings (with the plugin enabled). -**WALLABAG_URL**: *Wallabag instance URL* +**WALLABAG_URL**: *Wallabag instance URL* Example value: `http://v2.wallabag.org` -**WALLABAG_VERSION**: *Wallabag version* +**WALLABAG_VERSION**: *Wallabag version* Value: either `1` (for 1.x) or `2` (for 2.x) -> Note: these settings can also be set in `data/config.json.php`, in the plugins section. \ No newline at end of file +> Note: these settings can also be set in `data/config.json.php`, in the plugins section. diff --git a/tests/PluginManagerTest.php b/tests/PluginManagerTest.php index 61efce68..c7511051 100644 --- a/tests/PluginManagerTest.php +++ b/tests/PluginManagerTest.php @@ -86,4 +86,4 @@ class PluginManagerTest extends PHPUnit_Framework_TestCase $this->assertEquals('test plugin', $meta[self::$pluginName]['description']); $this->assertEquals($expectedParameters, $meta[self::$pluginName]['parameters']); } -} \ No newline at end of file +} diff --git a/tests/utils/config/configInvalid.json.php b/tests/utils/config/configInvalid.json.php index 167f2168..e39d640a 100644 --- a/tests/utils/config/configInvalid.json.php +++ b/tests/utils/config/configInvalid.json.php @@ -2,4 +2,4 @@ { bad: bad, } -*/ ?> \ No newline at end of file +*/ ?> -- cgit v1.2.3