diff --git a/www/admin/edit_base_page_test.php b/www/admin/edit_base_page_test.php index dd4fc48d..0ecc3bb3 100644 --- a/www/admin/edit_base_page_test.php +++ b/www/admin/edit_base_page_test.php @@ -3,4 +3,3 @@ // empty file for add and remove test // __END__ - diff --git a/www/lib/CoreLibs/Combined/DateTime.php b/www/lib/CoreLibs/Combined/DateTime.php index b4c5d654..d46619c5 100644 --- a/www/lib/CoreLibs/Combined/DateTime.php +++ b/www/lib/CoreLibs/Combined/DateTime.php @@ -675,9 +675,9 @@ class DateTime foreach ($period as $dt) { $curr = $dt->format('D'); if ($curr == 'Sat' || $curr == 'Sun') { - $days[2] ++; + $days[2]++; } else { - $days[1] ++; + $days[1]++; } } if ($return_named === true) { diff --git a/www/lib/CoreLibs/DB/IO.php b/www/lib/CoreLibs/DB/IO.php index 35c81a57..efe3901c 100644 --- a/www/lib/CoreLibs/DB/IO.php +++ b/www/lib/CoreLibs/DB/IO.php @@ -1302,7 +1302,7 @@ class IO } } } - $this->cursor_ext[$query_hash]['pos'] ++; + $this->cursor_ext[$query_hash]['pos']++; return $return; } @@ -1519,7 +1519,7 @@ class IO ]); return false; } - $this->query_called[$query_hash] ++; + $this->query_called[$query_hash]++; // return hash return $query_hash; } @@ -2469,7 +2469,7 @@ class IO return false; } } else { - $this->cursor_ext[$query_hash]['log_pos'] ++; + $this->cursor_ext[$query_hash]['log_pos']++; } // reset log for each read $this->cursor_ext[$query_hash]['log'] = []; @@ -2668,8 +2668,8 @@ class IO if ($return) { $this->cursor_ext[$query_hash]['log'][] = 'Return Data'; // internal position counter - $this->cursor_ext[$query_hash]['pos'] ++; - $this->cursor_ext[$query_hash]['read_rows'] ++; + $this->cursor_ext[$query_hash]['pos']++; + $this->cursor_ext[$query_hash]['read_rows']++; // read is finished if ( $this->cursor_ext[$query_hash]['read_rows'] == diff --git a/www/lib/CoreLibs/Output/ProgressBar.php b/www/lib/CoreLibs/Output/ProgressBar.php index 6affd992..5c4f9c76 100644 --- a/www/lib/CoreLibs/Output/ProgressBar.php +++ b/www/lib/CoreLibs/Output/ProgressBar.php @@ -156,7 +156,7 @@ class ProgressBar { // avoid divison through 0 if ($this->max - $this->min == 0) { - $this->max ++; + $this->max++; } $percent = round(($step - $this->min) / ($this->max - $this->min) * 100); if ($percent > 100) { @@ -186,7 +186,7 @@ class ProgressBar } // avoid divison through 0 if ($this->max - $this->min == 0) { - $this->max ++; + $this->max++; } $pixel = round(($step - $this->min) * ($bar - ($this->pedding * 2)) / ($this->max - $this->min)); if ($step <= $this->min) {