Passed
Push — master ( 6d330b...42ef1b )
by
unknown
02:23
created
action/editor.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,9 @@
 block discarded – undo
67 67
         $form = $event->data;
68 68
 
69 69
         // return early if content is not editable
70
-        if ($this->isReadOnly($form)) return;
70
+        if ($this->isReadOnly($form)) {
71
+            return;
72
+        }
71 73
 
72 74
 
73 75
         $useWYSIWYG = get_doku_pref('plugin_prosemirror_useWYSIWYG', false);
Please login to merge, or discard this patch.
lang/zh/settings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,4 +8,4 @@
 block discarded – undo
8 8
  * @作者 Fivemoons <[email protected]>
9 9
  *
10 10
  */
11
-$lang['forceWYSIWYG']          = '强制所有用户使用可视化编辑器(除了管理员)';
11
+$lang['forceWYSIWYG'] = '强制所有用户使用可视化编辑器(除了管理员)';
Please login to merge, or discard this patch.
lang/cs/settings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,4 +5,4 @@
 block discarded – undo
5 5
  *
6 6
  * @author Martin Růžička <[email protected]>
7 7
  */
8
-$lang['forceWYSIWYG']          = 'Vynutit WYSIWYG editor pro všechny uživatele kromě manažerů a správců';
8
+$lang['forceWYSIWYG'] = 'Vynutit WYSIWYG editor pro všechny uživatele kromě manažerů a správců';
Please login to merge, or discard this patch.
renderer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -417,10 +417,10 @@
 block discarded – undo
417 417
         $node = new Node('rss');
418 418
         $node->attr('url', hsc($url));
419 419
         $node->attr('max', $params['max']);
420
-        $node->attr('reverse', (bool)$params['reverse']);
421
-        $node->attr('author', (bool)$params['author']);
422
-        $node->attr('date', (bool)$params['date']);
423
-        $node->attr('details', (bool)$params['details']);
420
+        $node->attr('reverse', (bool) $params['reverse']);
421
+        $node->attr('author', (bool) $params['author']);
422
+        $node->attr('date', (bool) $params['date']);
423
+        $node->attr('details', (bool) $params['details']);
424 424
 
425 425
         if ($params['refresh'] % 86400 === 0) {
426 426
             $refresh = $params['refresh'] / 86400 . 'd';
Please login to merge, or discard this patch.
parser/ParagraphNode.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,9 +28,13 @@
 block discarded – undo
28 28
     {
29 29
         $doc = '';
30 30
         foreach ($this->subnodes as $subnode) {
31
-            if ($subnode instanceof \dokuwiki\plugin\prosemirror\parser\ParagraphNode) $doc .= "\n";
31
+            if ($subnode instanceof \dokuwiki\plugin\prosemirror\parser\ParagraphNode) {
32
+                $doc .= "\n";
33
+            }
32 34
             $doc .= $subnode->toSyntax();
33
-            if ($subnode instanceof \dokuwiki\plugin\prosemirror\parser\ParagraphNode) $doc .= "\n";
35
+            if ($subnode instanceof \dokuwiki\plugin\prosemirror\parser\ParagraphNode) {
36
+                $doc .= "\n";
37
+            }
34 38
         }
35 39
         return $doc;
36 40
     }
Please login to merge, or discard this patch.