Passed
Push — master ( 68d4bb...43fc94 )
by Darko
14:36 queued 06:51
created
app/Support/UpdatePerformanceHelper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public static function hasFileChanged(string $filePath, ?string $cacheKey = null): bool
15 15
     {
16
-        if (! File::exists($filePath)) {
16
+        if (!File::exists($filePath)) {
17 17
             return false;
18 18
         }
19 19
 
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
         // Check PHP extensions
145 145
         $requiredExtensions = ['pdo', 'mbstring', 'openssl', 'json', 'curl'];
146 146
         foreach ($requiredExtensions as $ext) {
147
-            if (! extension_loaded($ext)) {
147
+            if (!extension_loaded($ext)) {
148 148
                 $recommendations[] = "Missing PHP extension: $ext";
149 149
             }
150 150
         }
@@ -162,14 +162,14 @@  discard block
 block discarded – undo
162 162
         }
163 163
 
164 164
         $memInfo = @file_get_contents('/proc/meminfo');
165
-        if (! $memInfo) {
165
+        if (!$memInfo) {
166 166
             return null;
167 167
         }
168 168
 
169 169
         preg_match('/MemTotal:\s+(\d+)/', $memInfo, $totalMatch);
170 170
         preg_match('/MemAvailable:\s+(\d+)/', $memInfo, $availableMatch);
171 171
 
172
-        if (! isset($totalMatch[1]) || ! isset($availableMatch[1])) {
172
+        if (!isset($totalMatch[1]) || !isset($availableMatch[1])) {
173 173
             return null;
174 174
         }
175 175
 
Please login to merge, or discard this patch.