Test Failed
Push — master ( 9ff342...fa2d9a )
by Marcio
07:29 queued 03:30
created
src/Ballybran/Library/CSSCache.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,8 +54,9 @@  discard block
 block discarded – undo
54 54
 
55 55
     private function style_changed() {
56 56
     foreach ($this->filenames as $filename) {
57
-            if (!is_file($this->get_cache_name($filename)))
58
-        return TRUE;
57
+            if (!is_file($this->get_cache_name($filename))) {
58
+                    return TRUE;
59
+            }
59 60
     }
60 61
     return FALSE;
61 62
     }
@@ -86,8 +87,9 @@  discard block
 block discarded – undo
86 87
 
87 88
     // remove any old, lingering caches for this file
88 89
     if ($dead_files = glob($this->get_cache_name($filename, TRUE), GLOB_NOESCAPE)) {
89
-            foreach ($dead_files as $dead_file)
90
-        unlink($dead_file);
90
+            foreach ($dead_files as $dead_file) {
91
+                    unlink($dead_file);
92
+            }
91 93
     }
92 94
 
93 95
     $compressed = $this->compress(file_get_contents($filename));
Please login to merge, or discard this patch.
src/Ballybran/Helpers/Utility/Ucfirst.php 5 patches
Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -148,8 +148,4 @@
 block discarded – undo
148 148
             $string = preg_replace('/' . $slug . '{2,}/i', $slug, $string);
149 149
             $string = trim($string, $slug);
150 150
         }
151
-        return $string;
152
-    }
153
-
154
-
155
-}
151
+        return $string
156 152
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -148,8 +148,4 @@
 block discarded – undo
148 148
             $string = preg_replace('/' . $slug . '{2,}/i', $slug, $string);
149 149
             $string = trim($string, $slug);
150 150
         }
151
-        return $string;
152
-    }
153
-
154
-
155
-}
151
+        return $string
156 152
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +2 added lines, -6 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
                 if ($characterDeficit == 0) {
86 86
                     //If the word is full and we're not short any characters, ignore the character
87 87
                     continue;
88
-<<<<<<< HEAD
88
+<< << <<< HEAD
89 89
                 else
90 90
                     $characterDeficit--; //If we are short some characters, decrement the defecit and carry on with adding the character to the abbreviation
91 91
 =======
@@ -148,8 +148,4 @@  discard block
 block discarded – undo
148 148
             $string = preg_replace('/' . $slug . '{2,}/i', $slug, $string);
149 149
             $string = trim($string, $slug);
150 150
         }
151
-        return $string;
152
-    }
153
-
154
-
155
-}
151
+        return $string
156 152
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -148,8 +148,4 @@
 block discarded – undo
148 148
             $string = preg_replace('/' . $slug . '{2,}/i', $slug, $string);
149 149
             $string = trim($string, $slug);
150 150
         }
151
-        return $string;
152
-    }
153
-
154
-
155
-}
151
+        return $string
156 152
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -148,8 +148,4 @@
 block discarded – undo
148 148
             $string = preg_replace('/' . $slug . '{2,}/i', $slug, $string);
149 149
             $string = trim($string, $slug);
150 150
         }
151
-        return $string;
152
-    }
153
-
154
-
155
-}
151
+        return $string
156 152
\ No newline at end of file
Please login to merge, or discard this patch.