Passed
Push — master ( 9da2d4...b22c21 )
by Andreas
09:56
created
lib/net/nemein/wiki/style/view-latest-item.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     </td>
23 23
     <td class="revisor">
24 24
         <?php
25
-        if (   $history['user']
25
+        if ($history['user']
26 26
             && $user = midcom::get()->auth->get_user($history['user'])) {
27 27
             $person_label = org_openpsa_widgets_contact::get($user->guid)->show_inline();
28 28
             echo "                    {$person_label}\n";
Please login to merge, or discard this patch.
lib/net/nehmer/comments/style/admin-comments-item.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
     $view['author'],
17 17
     $formatter->datetime($created));
18 18
 
19
-if (   midcom::get()->auth->admin
20
-   || (   midcom::get()->auth->user
19
+if (midcom::get()->auth->admin
20
+   || (midcom::get()->auth->user
21 21
        && $comment->can_do('midgard:delete'))) {
22 22
     $creator = $comment->metadata->creator;
23 23
     $created = $comment->metadata->created;
Please login to merge, or discard this patch.
lib/net/nehmer/blog/style/archive-welcome-start.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 
4 4
 if ($data['first_post']) {
5 5
     $summary .= ' ' . sprintf($data['l10n']->get('first post was made on %s.'),
6
-                              $data['l10n']->get_formatter()->date($data['first_post']));
6
+                                $data['l10n']->get_formatter()->date($data['first_post']));
7 7
 }
8 8
 ?>
9 9
 
Please login to merge, or discard this patch.
lib/net/nehmer/blog/style/view.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,8 @@
 block discarded – undo
35 35
             try {
36 36
                 $article = new midcom_db_article($related);
37 37
                 echo "<li><a href=\"" . midcom::get()->permalinks->create_permalink($article->guid) . "\">{$article->title}</a></li>\n";
38
-            } catch (midcom_error $e) {
38
+            }
39
+            catch (midcom_error $e) {
39 40
                 $e->log();
40 41
             }
41 42
         }
Please login to merge, or discard this patch.
lib/net/nehmer/blog/style/index-empty.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,1 +1,1 @@
 block discarded – undo
1
-<p><?php $data['l10n']->show('no news found.');?></p>
2 1
\ No newline at end of file
2
+<p><?php $data['l10n']->show('no news found.'); ?></p>
3 3
\ No newline at end of file
Please login to merge, or discard this patch.
lib/org/openpsa/expenses/style/hours_grid.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,8 @@
 block discarded – undo
33 33
         $reporter_card = new org_openpsa_widgets_contact($reporter);
34 34
         $entry['index_reporter'] = $reporter->rname;
35 35
         $entry['reporter'] = $reporter_card->show_inline();
36
-    } catch (midcom_error $e) {
36
+    }
37
+    catch (midcom_error $e) {
37 38
         $e->log();
38 39
         $entry['index_reporter'] = '';
39 40
         $entry['reporter'] = '';
Please login to merge, or discard this patch.
lib/org/openpsa/mypage/style/workingon.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     <textarea id="working_description" name="description" rows="3" cols="40">&(workingon.description);</textarea>
50 50
     <div id="working_invoiceable_div" >
51 51
     <label for="working_invoiceable">
52
-      <input type="checkbox" name="working_invoiceable" <?php echo $checked;?> id="working_invoiceable"/><?php echo $data['l10n']->get('invoiceable'); ?>
52
+      <input type="checkbox" name="working_invoiceable" <?php echo $checked; ?> id="working_invoiceable"/><?php echo $data['l10n']->get('invoiceable'); ?>
53 53
     </label>
54 54
     </div>
55 55
 
Please login to merge, or discard this patch.
lib/org/openpsa/mypage/style/show-updates.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,8 @@
 block discarded – undo
31 31
             }
32 32
             $contact = new org_openpsa_widgets_contact($editor);
33 33
             echo "<li class=\"updated-{$class}\"><a href=\"{$url}\"{$onclick}>{$document->title}</a> <div class=\"metadata\">" . $formatter->datetime($document->edited) . " (" . $contact->show_inline() . ")</div></li>\n";
34
-        } catch (midcom_error $e) {
34
+        }
35
+        catch (midcom_error $e) {
35 36
         }
36 37
     }
37 38
     echo "</ul></div>\n";
Please login to merge, or discard this patch.
lib/org/openpsa/mypage/style/weekreview-day-item-task-status.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 $target_person_label = midcom::get()->i18n->get_string('system', 'org.openpsa.projects');
5 5
 
6 6
 $fallback_creator = midcom_db_person::get_cached(1);
7
-if (    $task_status->metadata->creator
7
+if ($task_status->metadata->creator
8 8
      && $task_status->metadata->creator != $fallback_creator->guid) {
9 9
     $status_changer = org_openpsa_widgets_contact::get($task_status->metadata->creator);
10 10
     $status_changer_label = $status_changer->show_inline();
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,8 @@
 block discarded – undo
33 33
                 $task_label = "<a href=\"{$data['projects_url']}task/{$task->guid}/\">{$task_label}</a>";
34 34
             }
35 35
             echo $task_label;
36
-        } catch (midcom_error $e) {}
36
+        }
37
+        catch (midcom_error $e) {}
37 38
         ?>
38 39
     </td>
39 40
     <td class="multivalue">
Please login to merge, or discard this patch.