@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | $this->colorCLI->header('Removing '.($type === '' ? 'All crap releases ' : $type.' crap releases').' - no time limit.', true); |
155 | 155 | } |
156 | 156 | } else { |
157 | - if (! is_numeric($time)) { |
|
157 | + if (!is_numeric($time)) { |
|
158 | 158 | $this->error = 'Error, time must be a number or full.'; |
159 | 159 | |
160 | 160 | return $this->returnError(); |
@@ -630,7 +630,7 @@ discard block |
||
630 | 630 | { |
631 | 631 | $status = sprintf('AND status = %d', Binaries::BLACKLIST_ENABLED); |
632 | 632 | |
633 | - if (! empty($this->blacklistID) && $this->delete === false) { |
|
633 | + if (!empty($this->blacklistID) && $this->delete === false) { |
|
634 | 634 | $status = ''; |
635 | 635 | } |
636 | 636 | |
@@ -727,7 +727,7 @@ discard block |
||
727 | 727 | $searchResult = (new ElasticSearchSiteSearch())->indexSearch($regexMatch, 100); |
728 | 728 | } else { |
729 | 729 | $searchResult = (new ManticoreSearch())->searchIndexes('releases_rt', $regexMatch, ['name,searchname']); |
730 | - if (! empty($searchResult)) { |
|
730 | + if (!empty($searchResult)) { |
|
731 | 731 | $searchResult = Arr::wrap(Arr::get($searchResult, 'id')); |
732 | 732 | } |
733 | 733 | } |
@@ -741,7 +741,7 @@ discard block |
||
741 | 741 | SELECT r.guid, r.searchname, r.id |
742 | 742 | FROM releases r %s %s %s %s', |
743 | 743 | $regexSQL, |
744 | - ! empty($searchResult) ? ' WHERE r.id IN ('.implode(',', $searchResult).')' : '', |
|
744 | + !empty($searchResult) ? ' WHERE r.id IN ('.implode(',', $searchResult).')' : '', |
|
745 | 745 | $groupID, |
746 | 746 | $this->crapTime, |
747 | 747 | ); |
@@ -1107,7 +1107,7 @@ discard block |
||
1107 | 1107 | } |
1108 | 1108 | break; |
1109 | 1109 | case 'size': |
1110 | - if (! is_numeric($args[2])) { |
|
1110 | + if (!is_numeric($args[2])) { |
|
1111 | 1111 | break; |
1112 | 1112 | } |
1113 | 1113 | switch ($args[1]) { |
@@ -1122,7 +1122,7 @@ discard block |
||
1122 | 1122 | } |
1123 | 1123 | break; |
1124 | 1124 | case 'adddate': |
1125 | - if (! is_numeric($args[2])) { |
|
1125 | + if (!is_numeric($args[2])) { |
|
1126 | 1126 | break; |
1127 | 1127 | } |
1128 | 1128 | switch ($args[1]) { |
@@ -1135,7 +1135,7 @@ discard block |
||
1135 | 1135 | } |
1136 | 1136 | break; |
1137 | 1137 | case 'postdate': |
1138 | - if (! is_numeric($args[2])) { |
|
1138 | + if (!is_numeric($args[2])) { |
|
1139 | 1139 | break; |
1140 | 1140 | } |
1141 | 1141 | switch ($args[1]) { |
@@ -1148,7 +1148,7 @@ discard block |
||
1148 | 1148 | } |
1149 | 1149 | break; |
1150 | 1150 | case 'completion': |
1151 | - if (! is_numeric($args[2])) { |
|
1151 | + if (!is_numeric($args[2])) { |
|
1152 | 1152 | break; |
1153 | 1153 | } |
1154 | 1154 | if ($args[1] === 'smaller') { |