Completed
Push — master ( 39a151...6ff83f )
by Mark
02:48
created
_test/general.test.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@
 block discarded – undo
55 55
     public function test_plugin_backlinks_isloaded() {
56 56
         global $plugin_controller;
57 57
         $this->assertTrue(
58
-                   in_array('webmaster', $plugin_controller->getList()),
59
-                   "webmaster plugin is loaded"
60
-                         );
58
+                    in_array('webmaster', $plugin_controller->getList()),
59
+                    "webmaster plugin is loaded"
60
+                            );
61 61
     }
62 62
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      * Simple test to make sure the plugin.info.txt is in correct format
30 30
      */
31 31
     public function test_plugininfo() {
32
-        $file = __DIR__ . '/../plugin.info.txt';
32
+        $file = __DIR__.'/../plugin.info.txt';
33 33
         $this->assertFileExists($file);
34 34
 
35 35
         $info = confToHash($file);
Please login to merge, or discard this patch.
action.php 1 patch
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,8 +7,12 @@  discard block
 block discarded – undo
7 7
  * @author     Marius Rieder <[email protected]>
8 8
  */
9 9
 
10
-if (!defined('DOKU_INC')) die();
11
-if (!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN', DOKU_INC.'lib/plugins/');
10
+if (!defined('DOKU_INC')) {
11
+    die();
12
+}
13
+if (!defined('DOKU_PLUGIN')) {
14
+    define('DOKU_PLUGIN', DOKU_INC.'lib/plugins/');
15
+}
12 16
 require_once(DOKU_PLUGIN.'action.php');
13 17
 
14 18
 class action_plugin_webmaster extends DokuWiki_Action_Plugin {
@@ -18,7 +22,9 @@  discard block
 block discarded – undo
18 22
     }   
19 23
 
20 24
     function addVerifyHeaders(&$event, $param) {
21
-        if (empty($event->data)||empty($event->data['meta'])) return;
25
+        if (empty($event->data)||empty($event->data['meta'])) {
26
+            return;
27
+        }
22 28
 
23 29
         /* Google */
24 30
         $g = $this->getConf('webmaster_google');
Please login to merge, or discard this patch.