Test Failed
Branch master (1685c5)
by Michael
02:21
created
Category
src/Notif.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,10 +58,10 @@  discard block
 block discarded – undo
58 58
         if (file_exists($this->templateDirectory) == false) {
59 59
             throw new Exception("Template directory not set!");
60 60
         }
61
-        if (file_exists($targetTemplate)          == false) {
61
+        if (file_exists($targetTemplate) == false) {
62 62
             throw new Exception("Requested template does not exist in $targetTemplate");
63 63
         }
64
-        if (is_readable($targetTemplate)          == false) {
64
+        if (is_readable($targetTemplate) == false) {
65 65
             throw new Exception("Requested template is not readable ($targetTemplate)");
66 66
         }
67 67
 
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
         $callback = $this->hooks[$hook];
245 245
 
246 246
         if (method_exists($this, $callback) == false) {
247
-            throw new Exception("Hook method does not exist! Cannot execute $callback in " . __FILE__ . ":" .  __LINE__);
247
+            throw new Exception("Hook method does not exist! Cannot execute $callback in " . __FILE__ . ":" . __LINE__);
248 248
         }
249 249
 
250 250
         return (count($args) == 0 ? $this->$callback() : $this->$callback($args));
Please login to merge, or discard this patch.
autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  * @param string $class The fully-qualified class name.
12 12
  * @return void
13 13
  */
14
-spl_autoload_register(function ($class) {
14
+spl_autoload_register(function($class) {
15 15
 
16 16
 
17 17
     // project-specific namespace prefix
Please login to merge, or discard this patch.