Passed
Push — master ( cca21a...e949c2 )
by Saepul
05:21
created
js/datatables/unit_testing/templates/dom_data.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22 22
             $aScripts = explode(':', $_GET['scripts']);
23
-            for ($i = 0; $i < count($aScripts); $i++) {
23
+            for ($i = 0; $i<count($aScripts); $i++) {
24 24
                 echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
25 25
             }
26 26
         ?>
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/2512.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22 22
             $aScripts = explode(':', $_GET['scripts']);
23
-            for ($i = 0; $i < count($aScripts); $i++) {
23
+            for ($i = 0; $i<count($aScripts); $i++) {
24 24
                 echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
25 25
             }
26 26
         ?>
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/6776.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22 22
             $aScripts = explode(':', $_GET['scripts']);
23
-            for ($i = 0; $i < count($aScripts); $i++) {
23
+            for ($i = 0; $i<count($aScripts); $i++) {
24 24
                 echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
25 25
             }
26 26
         ?>
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/-complex_header.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22 22
             $aScripts = explode(':', $_GET['scripts']);
23
-            for ($i = 0; $i < count($aScripts); $i++) {
23
+            for ($i = 0; $i<count($aScripts); $i++) {
24 24
                 echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
25 25
             }
26 26
         ?>
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/deferred_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22 22
             $aScripts = explode(':', $_GET['scripts']);
23
-            for ($i = 0; $i < count($aScripts); $i++) {
23
+            for ($i = 0; $i<count($aScripts); $i++) {
24 24
                 echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
25 25
             }
26 26
         ?>
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/complex_header_2.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22 22
             $aScripts = explode(':', $_GET['scripts']);
23
-            for ($i = 0; $i < count($aScripts); $i++) {
23
+            for ($i = 0; $i<count($aScripts); $i++) {
24 24
                 echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
25 25
             }
26 26
         ?>
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/dom_data_two_headers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22 22
             $aScripts = explode(':', $_GET['scripts']);
23
-            for ($i = 0; $i < count($aScripts); $i++) {
23
+            for ($i = 0; $i<count($aScripts); $i++) {
24 24
                 echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
25 25
             }
26 26
         ?>
Please login to merge, or discard this patch.
modal.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -110,10 +110,10 @@  discard block
 block discarded – undo
110 110
                                          <select name="itipe_barang" class="form-control" onChange="document.myform.submit();">
111 111
                                             <?php
112 112
                                                 $query = mysql_query('SELECT * FROM tipe_barang ORDER BY id_tipe_barang');
113
-                                                if ($query && mysql_num_rows($query) > 0) {
113
+                                                if ($query && mysql_num_rows($query)>0) {
114 114
                                                     while ($row = mysql_fetch_object($query)) {
115 115
                                                         echo '<option value="'.$row->id_tipe_barang.'"';
116
-                                                        if ($row->id_tipe_barang == $tipe_barang) {
116
+                                                        if ($row->id_tipe_barang==$tipe_barang) {
117 117
                                                             echo ' selected';
118 118
                                                         }
119 119
                                                         echo '>'.$row->tipe_barang.'</option>';
@@ -127,10 +127,10 @@  discard block
 block discarded – undo
127 127
                                          <select name="ioutlet" class="form-control" onChange="document.myform.submit();">
128 128
                                             <?php
129 129
                                                 $query = mysql_query('SELECT * FROM outlet ORDER BY id_outlet');
130
-                                                if ($query && mysql_num_rows($query) > 0) {
130
+                                                if ($query && mysql_num_rows($query)>0) {
131 131
                                                     while ($row = mysql_fetch_object($query)) {
132 132
                                                         echo '<option value="'.$row->id_outlet.'"';
133
-                                                        if ($row->id_outlet == $outlet) {
133
+                                                        if ($row->id_outlet==$outlet) {
134 134
                                                             echo ' selected';
135 135
                                                         }
136 136
                                                         echo '>'.$row->outlet.'</option>';
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
 
235 235
                                     $sisa_stok = $r['stok'] - $reserve;
236 236
 
237
-                                    if ($sisa_stok == '0') {
237
+                                    if ($sisa_stok=='0') {
238 238
                                         echo '';
239 239
                                     } else {
240 240
                                         echo'<tr>';
Please login to merge, or discard this patch.
modul/mod_kasir/ecetak_kasir.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -389,7 +389,7 @@  discard block
 block discarded – undo
389 389
 
390 390
             <?php 
391 391
 
392
-                    if ($r[id_shift] == '1') {
392
+                    if ($r[id_shift]=='1') {
393 393
                         $id_shift = '1';
394 394
                     } else {
395 395
                         $id_shift = '%';
@@ -500,7 +500,7 @@  discard block
 block discarded – undo
500 500
 
501 501
                 ?> 
502 502
 
503
-               <?php if ($id_shift == '%') {
503
+               <?php if ($id_shift=='%') {
504 504
                     ?>
505 505
                <tr>
506 506
                     <th></th>
Please login to merge, or discard this patch.