Test Failed
Branch master (5a68ec)
by Julien
03:05
created
Category
autoload.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@  discard block
 block discarded – undo
6 6
  * @param string $class The fully-qualified class name.
7 7
  * @return void
8 8
  */
9
-spl_autoload_register(function ($class) {
9
+spl_autoload_register(function($class) {
10 10
 
11 11
     // project-specific namespace prefix
12 12
     $prefix = 'EncreInformatique\\DoctorSenderApi\\';
13 13
 
14 14
     // base directory for the namespace prefix
15
-    $base_dir = __DIR__ . '/src/';
15
+    $base_dir = __DIR__.'/src/';
16 16
 
17 17
     // does the class use the namespace prefix?
18 18
     $len = strlen($prefix);
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     // replace the namespace prefix with the base directory, replace namespace
28 28
     // separators with directory separators in the relative class name, append
29 29
     // with .php
30
-    $file = $base_dir . str_replace('\\', '/', $relative_class) . '.php';
30
+    $file = $base_dir.str_replace('\\', '/', $relative_class).'.php';
31 31
 
32 32
     // if the file exists, require it
33 33
     if (file_exists($file)) {
Please login to merge, or discard this patch.
src/Endpoints/Campaigns.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
                 $sqlWhereDate = 'send_date <= \''.$options['date']['end']->format("Y-m-d").'\'';
56 56
             }
57 57
 
58
-            $sqlWhere.= ' and '.$sqlWhereDate;
58
+            $sqlWhere .= ' and '.$sqlWhereDate;
59 59
         }
60 60
 
61 61
         /*
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
             $sqlWhereList = 'user_list = \''.$options['list'].'\'';
69 69
 
70
-            $sqlWhere.= ' and '.$sqlWhereList;
70
+            $sqlWhere .= ' and '.$sqlWhereList;
71 71
         }
72 72
 
73 73
         /*
Please login to merge, or discard this patch.