Passed
Push — master ( a54f2a...a1f9e9 )
by Nicolaas
11:12 queued 01:20
created
src/Extensions/SiteConfigExtension.php 1 patch
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
             $array = array_map('trim', $array);
168 168
             $array = array_filter($array);
169 169
             if ($currentIp) {
170
-                if (! in_array($currentIp, $array, true)) {
170
+                if (!in_array($currentIp, $array, true)) {
171 171
                     $array[] = $currentIp;
172 172
                 }
173 173
             }
@@ -177,8 +177,7 @@  discard block
 block discarded – undo
177 177
 
178 178
     public function onAfterWrite()
179 179
     {
180
-        if (self::$loop_count < 2) {
181
-            ++self::$loop_count;
180
+        if (self::$loop_count < 2) {++self::$loop_count;
182 181
             $this->CreateFiles();
183 182
             // 2 = only real changes.
184 183
             if ($this->owner->isChanged('UnderConstructionOnOff', 2)) {
@@ -204,7 +203,7 @@  discard block
 block discarded – undo
204 203
 
205 204
     public function requireDefaultRecords()
206 205
     {
207
-        if (! Director::is_cli()) {
206
+        if (!Director::is_cli()) {
208 207
             $this->getUnderConstructionCalculatedValues()->CreateDirAndTest();
209 208
         }
210 209
     }
Please login to merge, or discard this patch.