Passed
Push — master ( 164b32...402455 )
by Cody
03:43 queued 19s
created
include/controls.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
         while ($line = $sth->fetch()) {
112 112
 
113 113
             for ($i = 0; $i < $nest_level; $i++) {
114
-                            $line["title"] = " - " . $line["title"];
114
+                            $line["title"] = " - ".$line["title"];
115 115
             }
116 116
 
117 117
             $is_selected = in_array("CAT:".$line["id"], $default_ids) ? "selected=\"1\"" : "";
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 
122 122
             if ($line["num_children"] > 0) {
123 123
                             print_feed_multi_select($id, $default_ids, $attributes,
124
-                    $include_all_feeds, $line["id"], $nest_level+1);
124
+                    $include_all_feeds, $line["id"], $nest_level + 1);
125 125
             }
126 126
 
127 127
             $f_sth = $pdo->prepare("SELECT id,title FROM ttrss_feeds
@@ -132,10 +132,10 @@  discard block
 block discarded – undo
132 132
             while ($fline = $f_sth->fetch()) {
133 133
                 $is_selected = (in_array($fline["id"], $default_ids)) ? "selected=\"1\"" : "";
134 134
 
135
-                $fline["title"] = " + " . $fline["title"];
135
+                $fline["title"] = " + ".$fline["title"];
136 136
 
137 137
                 for ($i = 0; $i < $nest_level; $i++) {
138
-                                    $fline["title"] = " - " . $fline["title"];
138
+                                    $fline["title"] = " - ".$fline["title"];
139 139
                 }
140 140
 
141 141
                 printf("<option $is_selected value='%d'>%s</option>",
@@ -156,10 +156,10 @@  discard block
 block discarded – undo
156 156
             while ($fline = $f_sth->fetch()) {
157 157
                 $is_selected = in_array($fline["id"], $default_ids) ? "selected=\"1\"" : "";
158 158
 
159
-                $fline["title"] = " + " . $fline["title"];
159
+                $fline["title"] = " + ".$fline["title"];
160 160
 
161 161
                 for ($i = 0; $i < $nest_level; $i++) {
162
-                                    $fline["title"] = " - " . $fline["title"];
162
+                                    $fline["title"] = " - ".$fline["title"];
163 163
                 }
164 164
 
165 165
                 printf("<option $is_selected value='%d'>%s</option>",
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
         }
220 220
 
221 221
         for ($i = 0; $i < $nest_level; $i++) {
222
-                    $line["title"] = " - " . $line["title"];
222
+                    $line["title"] = " - ".$line["title"];
223 223
         }
224 224
 
225 225
         if ($line["title"]) {
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
 
230 230
         if ($line["num_children"] > 0) {
231 231
                     print_feed_cat_select($id, $default_id, $attributes,
232
-                $include_all_cats, $line["id"], $nest_level+1);
232
+                $include_all_cats, $line["id"], $nest_level + 1);
233 233
         }
234 234
     }
235 235
 
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
 
322 322
         if ($entry) {
323 323
             $entry .= "<a target=\"_blank\" rel=\"noopener noreferrer\"
324
-				href=\"$url\">" . basename($url) . "</a>";
324
+				href=\"$url\">".basename($url)."</a>";
325 325
         }
326 326
 
327 327
         $entry .= "</div>";
Please login to merge, or discard this patch.
classes/backend.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
                 if ($cur_section) {
46 46
                     print "<li>&nbsp;</li>";
47 47
                 }
48
-                print "<li><h3>" . $section . "</h3></li>";
48
+                print "<li><h3>".$section."</h3></li>";
49 49
                 $cur_section = $section;
50 50
 
51 51
                 foreach ($hotkeys as $action => $description) {
Please login to merge, or discard this patch.
lib/gettext/gettext.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -177,12 +177,12 @@  discard block
 block discarded – undo
177 177
     function get_original_string($num) {
178 178
     $length = $this->table_originals[$num * 2 + 1];
179 179
     $offset = $this->table_originals[$num * 2 + 2];
180
-    if (! $length) {
180
+    if (!$length) {
181 181
             return '';
182 182
     }
183 183
     $this->STREAM->seekto($offset);
184 184
     $data = $this->STREAM->read($length);
185
-    return (string)$data;
185
+    return (string) $data;
186 186
     }
187 187
 
188 188
     /**
@@ -195,12 +195,12 @@  discard block
 block discarded – undo
195 195
     function get_translation_string($num) {
196 196
     $length = $this->table_translations[$num * 2 + 1];
197 197
     $offset = $this->table_translations[$num * 2 + 2];
198
-    if (! $length) {
198
+    if (!$length) {
199 199
             return '';
200 200
     }
201 201
     $this->STREAM->seekto($offset);
202 202
     $data = $this->STREAM->read($length);
203
-    return (string)$data;
203
+    return (string) $data;
204 204
     }
205 205
 
206 206
     /**
Please login to merge, or discard this patch.