Passed
Push — master ( c7b2ee...da981b )
by Michael
03:00
created
helper/db.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,9 @@
 block discarded – undo
75 75
     public function reset()
76 76
     {
77 77
         $db = $this->getDB();
78
-        if (!$db) return;
78
+        if (!$db) {
79
+            return;
80
+        }
79 81
 
80 82
         $db->query('DELETE FROM issues');
81 83
         $db->query('DELETE FROM issue_issues');
Please login to merge, or discard this patch.
_test/handleIssueLinkSyntax.test.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         // arrange
27 27
         global $ID;
28 28
         $ID = 'testpage';
29
-        saveWikiText('testpage','{{jira>SPR-281}} {{jira>TW-7}}','test summary');
29
+        saveWikiText('testpage', '{{jira>SPR-281}} {{jira>TW-7}}', 'test summary');
30 30
 
31 31
         // act
32 32
         p_get_instructions('[[jira>SPR-281]]');
@@ -61,8 +61,8 @@  discard block
 block discarded – undo
61 61
         // arrange
62 62
         global $ID, $REV;
63 63
         $ID = 'testpage_oldnew';
64
-        saveWikiText($ID,'{{jira>SPR-281}} {{jira>TW-7}}','test summary');
65
-        $REV = filemtime(wikiFN($ID))+1;
64
+        saveWikiText($ID, '{{jira>SPR-281}} {{jira>TW-7}}', 'test summary');
65
+        $REV = filemtime(wikiFN($ID)) + 1;
66 66
 
67 67
         // act
68 68
         p_get_instructions('{{jira>SPR-281}}');
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
         // arrange
86 86
         global $ID;
87 87
         $ID = 'testpage2';
88
-        saveWikiText($ID,'page must exist for m_filetime','test summary');
88
+        saveWikiText($ID, 'page must exist for m_filetime', 'test summary');
89 89
 
90 90
         // act
91 91
         p_get_instructions('[[gh>cosmocode/dokuwiki-plugin-issuelinks#1]]');
Please login to merge, or discard this patch.