Completed
Push — master ( 06494f...c4a93a )
by Mark
16s queued 13s
created
_test/general.test.php 1 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(): void {
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
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,34 +14,34 @@
 block discarded – undo
14 14
     }
15 15
 
16 16
     public function addVerifyHeaders(Doku_Event $event, $param) {
17
-        if(empty($event->data) || empty($event->data['meta'])) {
17
+        if (empty($event->data)||empty($event->data['meta'])) {
18 18
             return;
19 19
         }
20 20
 
21 21
         /* Google */
22 22
         $g = $this->getConf('webmaster_google');
23
-        if(!empty($g)) {
23
+        if (!empty($g)) {
24 24
             $g                     = array('name' => 'google-site-verification', 'content' => $g);
25 25
             $event->data['meta'][] = $g;
26 26
         }
27 27
 
28 28
         /* bing */
29 29
         $b = $this->getConf('webmaster_bing');
30
-        if(!empty($b)) {
30
+        if (!empty($b)) {
31 31
             $b                     = array('name' => 'msvalidate.01', 'content' => $b);
32 32
             $event->data['meta'][] = $b;
33 33
         }
34 34
 
35 35
         /* Yandex */
36 36
         $y = $this->getConf('webmaster_yandexkey');
37
-        if(!empty($y)) {
37
+        if (!empty($y)) {
38 38
             $y                     = array('name' => 'yandex-verification', 'content' => $y);
39 39
             $event->data['meta'][] = $y;
40 40
         }
41 41
 
42 42
         /* Pinterest */
43 43
         $y = $this->getConf('webmaster_pinterestkey');
44
-        if(!empty($y)) {
44
+        if (!empty($y)) {
45 45
             $y                     = array('name' => 'p:domain_verify', 'content' => $y);
46 46
             $event->data['meta'][] = $y;
47 47
         }
Please login to merge, or discard this patch.