aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2016-08-13 14:22:22 +0200
committerVirtualTam <virtualtam@flibidi.net>2016-08-13 14:22:22 +0200
commitdb6dec0de10d0ee3b35658ae9f431935d17e8a7c (patch)
tree350fc025c2f9b6fc548745724dc9ae61355ac01e
parentf396134bf1b6080f9cfc55f46c59cd50f440f556 (diff)
downloadShaarli-db6dec0de10d0ee3b35658ae9f431935d17e8a7c.tar.gz
Shaarli-db6dec0de10d0ee3b35658ae9f431935d17e8a7c.tar.zst
Shaarli-db6dec0de10d0ee3b35658ae9f431935d17e8a7c.zip
Fix: add missing final newlines, untabify text
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
-rw-r--r--application/PluginManager.php2
-rw-r--r--application/Router.php2
-rw-r--r--plugins/addlink_toolbar/addlink_toolbar.php2
-rw-r--r--plugins/playvideos/playvideos.php2
-rw-r--r--plugins/wallabag/README.md24
-rw-r--r--tests/PluginManagerTest.php2
-rw-r--r--tests/utils/config/configInvalid.json.php2
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
210 { 210 {
211 $this->message = 'Plugin "'. $pluginName .'" files not found.'; 211 $this->message = 'Plugin "'. $pluginName .'" files not found.';
212 } 212 }
213} \ No newline at end of file 213}
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
138 138
139 return self::$PAGE_LINKLIST; 139 return self::$PAGE_LINKLIST;
140 } 140 }
141} \ No newline at end of file 141}
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)
35 } 35 }
36 36
37 return $data; 37 return $data;
38} \ No newline at end of file 38}
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)
37 } 37 }
38 38
39 return $data; 39 return $data;
40} \ No newline at end of file 40}
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
4 4
5### Installation 5### Installation
6 6
7Clone this repository inside your `tpl/plugins/` directory, or download the archive and unpack it there. 7Clone this repository inside your `tpl/plugins/` directory, or download the archive and unpack it there.
8The directory structure should look like: 8The directory structure should look like:
9 9
10``` 10```bash
11└── tpl 11└── tpl
12 └── plugins 12 └── plugins
13    └── wallabag 13 └── wallabag
14    ├── README.md 14 ├── README.md
15    ├── wallabag.html 15 ├── wallabag.html
16    ├── wallabag.meta 16 ├── wallabag.meta
17    ├── wallabag.php 17 ├── wallabag.php
18    ├── wallabag.php 18 ├── wallabag.php
19    └── WallabagInstance.php 19 └── WallabagInstance.php
20``` 20```
21 21
22To enable the plugin, you can either: 22To enable the plugin, you can either:
@@ -28,10 +28,10 @@ To enable the plugin, you can either:
28 28
29Go to the plugin administration page, and edit the following settings (with the plugin enabled). 29Go to the plugin administration page, and edit the following settings (with the plugin enabled).
30 30
31**WALLABAG_URL**: *Wallabag instance URL* 31**WALLABAG_URL**: *Wallabag instance URL*
32Example value: `http://v2.wallabag.org` 32Example value: `http://v2.wallabag.org`
33 33
34**WALLABAG_VERSION**: *Wallabag version* 34**WALLABAG_VERSION**: *Wallabag version*
35Value: either `1` (for 1.x) or `2` (for 2.x) 35Value: either `1` (for 1.x) or `2` (for 2.x)
36 36
37> Note: these settings can also be set in `data/config.json.php`, in the plugins section. \ No newline at end of file 37> 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
86 $this->assertEquals('test plugin', $meta[self::$pluginName]['description']); 86 $this->assertEquals('test plugin', $meta[self::$pluginName]['description']);
87 $this->assertEquals($expectedParameters, $meta[self::$pluginName]['parameters']); 87 $this->assertEquals($expectedParameters, $meta[self::$pluginName]['parameters']);
88 } 88 }
89} \ No newline at end of file 89}
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 @@
2{ 2{
3 bad: bad, 3 bad: bad,
4} 4}
5*/ ?> \ No newline at end of file 5*/ ?>