Completed
Push — master ( a8c4d7...401d4c )
by Michael
12s queued 10s
created
action/editor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
 
47 47
         /** @var Doku_Form $form */
48
-        $form =& $event->data;
48
+        $form = & $event->data;
49 49
         $useWYSIWYG = get_doku_pref('plugin_prosemirror_useWYSIWYG', false);
50 50
 
51 51
         $prosemirrorJSON = '';
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         }
83 83
 
84 84
         // output data and editor field
85
-        $form->addHidden('prosemirror_json',$prosemirrorJSON);
85
+        $form->addHidden('prosemirror_json', $prosemirrorJSON);
86 86
         $form->insertElement(1, '<div class="prosemirror_wrapper" id="prosemirror__editor"></div>');
87 87
     }
88 88
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
             'id' => 'prosemirror-linkform',
108 108
             'style' => 'display: none;',
109 109
         ]);
110
-        $linkForm->addFieldsetOpen('Links')->addClass('js-link-fieldset');;
110
+        $linkForm->addFieldsetOpen('Links')->addClass('js-link-fieldset'); ;
111 111
         $iwOptions = array_keys(getInterwiki());
112 112
         $linkForm->addDropdown('iwshortcut', $iwOptions, 'InterWiki')->attr('required', 'required');
113 113
 
Please login to merge, or discard this patch.
action/ajax.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
         if ($inner[0] === '#') {
126 126
             return dokuwiki\plugin\prosemirror\parser\LocalLinkNode::resolveLocalLink($inner, $curId);
127 127
         }
128
-       return \dokuwiki\plugin\prosemirror\parser\InternalLinkNode::resolveLink($inner, $curId);
128
+        return \dokuwiki\plugin\prosemirror\parser\InternalLinkNode::resolveLink($inner, $curId);
129 129
     }
130 130
 
131 131
     /**
Please login to merge, or discard this patch.
renderer.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -349,17 +349,17 @@
 block discarded – undo
349 349
         $node = new Node('rss');
350 350
         $node->attr('url', hsc($url));
351 351
         $node->attr('max', $params['max']);
352
-        $node->attr('reverse', (bool)$params['reverse']);
353
-        $node->attr('author', (bool)$params['author']);
354
-        $node->attr('date', (bool)$params['date']);
355
-        $node->attr('details', (bool)$params['details']);
352
+        $node->attr('reverse', (bool) $params['reverse']);
353
+        $node->attr('author', (bool) $params['author']);
354
+        $node->attr('date', (bool) $params['date']);
355
+        $node->attr('details', (bool) $params['details']);
356 356
 
357 357
         if ($params['refresh'] % 86400 === 0) {
358
-            $refresh = $params['refresh']/86400 . 'd';
358
+            $refresh = $params['refresh'] / 86400 . 'd';
359 359
         } else if ($params['refresh'] % 3600 === 0) {
360
-            $refresh = $params['refresh']/3600 . 'h';
360
+            $refresh = $params['refresh'] / 3600 . 'h';
361 361
         } else {
362
-            $refresh = $params['refresh']/60 . 'm';
362
+            $refresh = $params['refresh'] / 60 . 'm';
363 363
         }
364 364
 
365 365
         $node->attr('refresh', trim($refresh));
Please login to merge, or discard this patch.
lang/en/lang.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 // $lang['menu'] = 'Your menu entry';
10 10
 
11 11
 // custom language strings for the plugin
12
- $lang['switch_editors'] = 'Toggle WYSIWYG editor';
13
- $lang['js']['code_block_hint'] = '
Please login to merge, or discard this patch.