Passed
Push — feature/6.x ( a9714e...4f970f )
by Schlaefer
02:57
created
src/Model/Table/UsersTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
         $this->addBehavior(
78 78
             'Proffer.Proffer',
79 79
             [
80
-                'avatar' => [ // The name of your upload field (filename)
80
+                'avatar' => [// The name of your upload field (filename)
81 81
                     'root' => $avatarRootDir,
82 82
                     'dir' => 'avatar_dir', // field for upload directory
83 83
                     'thumbnailSizes' => [
Please login to merge, or discard this patch.
src/Controller/Component/TitleComponent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 
39 39
         $page = $this->getPageTitle($controller);
40 40
         $title = $this->getTitleForLayout($controller, $page, $forum);
41
-        $controller->set(['titleForLayout' => $title, 'titleForPage' => $page ]);
41
+        $controller->set(['titleForLayout' => $title, 'titleForPage' => $page]);
42 42
     }
43 43
 
44 44
     /**
Please login to merge, or discard this patch.
plugins/Admin/templates/Smilies/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
                     $codes = '';
59 59
                 }
60 60
                 ?>
61
-                <tr<?php echo $class;?>>
61
+                <tr<?php echo $class; ?>>
62 62
                     <td><?php echo $smiley->get('id'); ?>&nbsp;</td>
63 63
                     <td><code style="font-size: 0.85em;"><?= $codes ?></code></td>
64 64
                     <td><?php echo $smiley->get('sort'); ?>&nbsp;</td>
Please login to merge, or discard this patch.
plugins/Admin/templates/SmileyCodes/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
                 $class = ' class="altrow"';
27 27
             }
28 28
             ?>
29
-            <tr<?php echo $class;?>>
29
+            <tr<?php echo $class; ?>>
30 30
                 <td><?php echo $smileyCode->get('id'); ?>&nbsp;</td>
31 31
                 <td>
32 32
                     <?php
Please login to merge, or discard this patch.
plugins/Installer/templates/Install/salt.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,10 +27,13 @@
 block discarded – undo
27 27
                 <?= __d('installer', 'salt.warning') ?>
28 28
             </p>
29 29
             <?= $reloadLink ?>
30
-        <?php else : ?>
30
+        <?php else {
31
+    : ?>
31 32
             <div class="alert alert-success">
32 33
                 <?= __d('installer', 'salt.success') ?>
33 34
             </div>
34
-        <?php endif; ?>
35
+        <?php endif;
36
+}
37
+?>
35 38
   </div>
36 39
 </div>
Please login to merge, or discard this patch.
plugins/Installer/templates/Install/dbconnection.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,10 +22,13 @@
 block discarded – undo
22 22
                 <?= __d('installer', 'connection.see') ?>
23 23
             </p>
24 24
             <?= $reloadLink ?>
25
-        <?php else : ?>
25
+        <?php else {
26
+    : ?>
26 27
             <div class="alert alert-success">
27 28
                 <?= __d('installer', 'connection.success') ?>
28 29
             </div>
29
-        <?php endif; ?>
30
+        <?php endif;
31
+}
32
+?>
30 33
     </div>
31 34
 </div>
Please login to merge, or discard this patch.
templates/Users/de/rs.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,8 @@  discard block
 block discarded – undo
34 34
                 Der Benutzer wurde bereits in der Vergangenheit aktiviert.
35 35
             </p>
36 36
             <?php
37
-        else : ?>
37
+        else {
38
+            : ?>
38 39
             <h2>Aktivierung fehlgeschlagen</h2>
39 40
             <p>
40 41
                 Eine Aktivierung konnte nicht durchgeführt werden. Bitte prüfen
@@ -49,6 +50,8 @@  discard block
 block discarded – undo
49 50
                     ist
50 51
                 </li>
51 52
             </ul>
52
-        <?php endif; ?>
53
+        <?php endif;
54
+        }
55
+        ?>
53 56
     </div>
54 57
 </div>
Please login to merge, or discard this patch.
templates/Users/rs.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,8 @@  discard block
 block discarded – undo
33 33
                 The registration was already finished in the past.
34 34
             </p>
35 35
             <?php
36
-        else : ?>
36
+        else {
37
+            : ?>
37 38
             <h2>Registration Failed</h2>
38 39
             <p>
39 40
                 The registration wasn't confirmed. Please check that:
@@ -46,6 +47,8 @@  discard block
 block discarded – undo
46 47
                     the registration was made within the last 24 hours
47 48
                 </li>
48 49
             </ul>
49
-        <?php endif; ?>
50
+        <?php endif;
51
+        }
52
+        ?>
50 53
     </div>
51 54
 </div>
Please login to merge, or discard this patch.
templates/Users/avatar.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
                     ?>
37 37
                 </div>
38 38
                 <div class="form-group form-inline mb">
39
-                        <?= $this->Form->control( 'avatar', ['label' => false, 'type' => 'file', 'required' => false]) ?>
39
+                        <?= $this->Form->control('avatar', ['label' => false, 'type' => 'file', 'required' => false]) ?>
40 40
                     <?php
41 41
                     echo $this->Form->button(
42 42
                         __('gn.btn.save.t'),
Please login to merge, or discard this patch.