Completed
Push — master ( 309357...7ad46f )
by Andreas
18:00
created
lib/net/nemein/wiki/handler/latest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
                     return;
51 51
                 }
52 52
 
53
-                if (   $history['date'] < $from
53
+                if ($history['date'] < $from
54 54
                     || $history['date'] > $to) {
55 55
                     // We can ignore revisions outside the timeframe
56 56
                     continue;
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
         $this->_seek_updated($from);
94 94
 
95 95
         $i = 0;
96
-        while (   $this->_updated_pages < $this->_max_pages
96
+        while ($this->_updated_pages < $this->_max_pages
97 97
                && $i < 20) {
98 98
             // Expand seek by another two weeks
99 99
             $to = $from;
Please login to merge, or discard this patch.
lib/net/nemein/wiki/wikipage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
     public function _on_creating()
31 31
     {
32
-        if (   $this->title == ''
32
+        if ($this->title == ''
33 33
             || !$this->topic) {
34 34
             // We must have wikiword and topic at this stage
35 35
             return false;
Please login to merge, or discard this patch.
lib/net/nemein/rss/parser/item.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
     public function get_link($key = 0, $rel = 'alternate')
62 62
     {
63 63
         $link = parent::get_link($key, $rel);
64
-        if (   $rel !== 'alternate'
64
+        if ($rel !== 'alternate'
65 65
             || $key !== 0) {
66 66
             return $link;
67 67
         }
Please login to merge, or discard this patch.
lib/net/nehmer/comments/handler/admin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
 
138 138
     private function _verify_post_data()
139 139
     {
140
-        if (   !array_key_exists('action', $_POST)
140
+        if (!array_key_exists('action', $_POST)
141 141
             || !array_key_exists('guid', $_POST)) {
142 142
             throw new midcom_error_notfound('Incomplete POST data');
143 143
         }
Please login to merge, or discard this patch.
lib/midcom/helper/exporter/xml.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
      */
81 81
     public function array2data(array $array, $root_node = 'array', $prefix = '')
82 82
     {
83
-        $data  = "{$prefix}<{$root_node}>\n";
83
+        $data = "{$prefix}<{$root_node}>\n";
84 84
 
85 85
         foreach ($array as $key => $field) {
86 86
             if (is_numeric($key)) {
Please login to merge, or discard this patch.
lib/midcom/helper/filesync/exporter/snippet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     public function read_root($id)
55 55
     {
56 56
         if (is_numeric($id)) {
57
-            $id = (int)$id;
57
+            $id = (int) $id;
58 58
         }
59 59
         $rootdir = new midcom_db_snippetdir($id);
60 60
         if (!$rootdir->can_do('midgard:update')) {
Please login to merge, or discard this patch.
lib/midcom/helper/filesync/exporter/style.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     public function read_root($style_id)
51 51
     {
52 52
         if (is_numeric($style_id)) {
53
-            $style_id = (int)$style_id;
53
+            $style_id = (int) $style_id;
54 54
         }
55 55
         $style = new midcom_db_style($style_id);
56 56
 
Please login to merge, or discard this patch.
lib/midcom/admin/folder/handler/approvals.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public function _handler_approval($handler_id, array $args, array &$data)
25 25
     {
26
-        if (   !array_key_exists('guid', $_REQUEST)
26
+        if (!array_key_exists('guid', $_REQUEST)
27 27
             || !array_key_exists('return_to', $_REQUEST)) {
28 28
             throw new midcom_error('Cannot process approval request, request is incomplete.');
29 29
         }
Please login to merge, or discard this patch.
lib/midcom/db/topic.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     public function _on_loaded()
31 31
     {
32 32
         // if we are missing the component, use the nullcomponent.
33
-        if (   !$this->component
33
+        if (!$this->component
34 34
             || !array_key_exists($this->component, midcom::get()->componentloader->manifests)) {
35 35
             debug_add("Topic {$this->id} has no component assigned to it, using 'midcom.core.nullcomponent'.",
36 36
             MIDCOM_LOG_INFO);
Please login to merge, or discard this patch.