Completed
Push — master ( a041ab...7e66c0 )
by Gino
04:49 queued 01:03
created
class/form/TDMCreateFormRadio.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         }
64 64
         if (!empty($this->columns)) {
65 65
             if ($span = $i % $this->columns) {
66
-                $ret .= '<td colspan="'.($this->columns - $span).'"></td></tr>';
66
+                $ret .= '<td colspan="'.($this->columns-$span).'"></td></tr>';
67 67
             }
68 68
             $ret .= '</table>';
69 69
         }
Please login to merge, or discard this patch.
class/form/simpleform.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
                 $ret .= $ele->render();
47 47
             }
48 48
         }
49
-        $ret .=  NWLINE.'</form>';
49
+        $ret .= NWLINE.'</form>';
50 50
 
51 51
         return $ret;
52 52
     }
Please login to merge, or discard this patch.
class/SplClassLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
             $namespace = '';
142 142
             if (false !== ($lastNsPos = strripos($className, $this->_namespaceSeparator))) {
143 143
                 $namespace = substr($className, 0, $lastNsPos);
144
-                $className = substr($className, $lastNsPos + 1);
144
+                $className = substr($className, $lastNsPos+1);
145 145
                 $fileName = str_replace($this->_namespaceSeparator, DIRECTORY_SEPARATOR, $namespace).DIRECTORY_SEPARATOR;
146 146
             }
147 147
             $fileName .= str_replace('_', DIRECTORY_SEPARATOR, $className).$this->_fileExtension;
Please login to merge, or discard this patch.
class/modules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -415,7 +415,7 @@
 block discarded – undo
415 415
         $imageIcon = imagecreatefrompng($iconFile);
416 416
         // Write text
417 417
         $textColor = imagecolorallocate($imageModule, 0, 0, 0);
418
-        $spaceBorder = (92 - strlen($moduleDirname) * 7.5) / 2;
418
+        $spaceBorder = (92-strlen($moduleDirname) * 7.5) / 2;
419 419
         imagefttext($imageModule, 8.5, 0, $spaceBorder, 45, $textColor, $font, ucfirst($moduleDirname), array());
420 420
         imagecopy($imageModule, $imageIcon, 29, 2, 0, 0, 32, 32);
421 421
         $logoImg = '/'.$moduleDirname.'_logo.png';
Please login to merge, or discard this patch.
class/logoGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
 
135 135
         // Write text
136 136
         $textColor = imagecolorallocate($imageModule, 0, 0, 0);
137
-        $spaceToBorder = (92 - strlen($moduleDirname) * 7.5) / 2;
137
+        $spaceToBorder = (92-strlen($moduleDirname) * 7.5) / 2;
138 138
         imagefttext($imageModule, 8.5, 0, $spaceToBorder, 45, $textColor, $font, ucfirst($moduleDirname), array());
139 139
 
140 140
         imagecopy($imageModule, $imageIcon, 29, 2, 0, 0, 32, 32);
Please login to merge, or discard this patch.
class/files/include/IncludeSearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
             $nb_fieldSearch = count($fieldSearch);
96 96
             $sql .= '(';
97 97
             for ($i = 0; $i < $nb_fieldSearch; ++$i) {
98
-                if ($i != $nb_fieldSearch - 1) {
98
+                if ($i != $nb_fieldSearch-1) {
99 99
                     $sql .= ''.$fieldSearch[$i].' LIKE %$queryarray['.$options.']% OR ';
100 100
                 } else {
101 101
                     $sql .= ''.$fieldSearch[$i].' LIKE %$queryarray[0]%';
Please login to merge, or discard this patch.
class/files/user/UserRss.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
             if (strpos($fieldName, '_')) {
100 100
                 $str = strpos($fieldName, '_');
101 101
                 if ($str !== false) {
102
-                    $rpFieldName = substr($fieldName, $str + 1, strlen($fieldName));
102
+                    $rpFieldName = substr($fieldName, $str+1, strlen($fieldName));
103 103
                 }
104 104
             }
105 105
             $lpFieldName = substr($fieldName, 0, strpos($fieldName, '_'));
Please login to merge, or discard this patch.
class/files/TDMCreateHtmlSmartyCodes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
         return $ret;
97 97
     }
98 98
 
99
-     /*
99
+        /*
100 100
     *  @private function setAttributes
101 101
     *  @param array $attributes
102 102
     */
Please login to merge, or discard this patch.
class/files/sql/SqlFile.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
         }
311 311
         // ================= COMMA ================= //
312 312
         for ($i = 0; $i < $j; ++$i) {
313
-            if ($i != $j - 1) {
313
+            if ($i != $j-1) {
314 314
                 $row[] = $comma[$i].',';
315 315
             } else {
316 316
                 $row[] = $comma[$i];
@@ -439,7 +439,7 @@  discard block
 block discarded – undo
439 439
     {
440 440
         // Comma issue
441 441
         for ($i = 1; $i <= $index; ++$i) {
442
-            if ($i != $index - 1) {
442
+            if ($i != $index-1) {
443 443
                 $ret = $this->getComma(isset($comma[$i]), ',')."\n";
444 444
             } else {
445 445
                 $ret = $this->getComma(isset($comma[$i]))."\n";
Please login to merge, or discard this patch.