Passed
Push — master ( 0f3a49...a285cd )
by Julien
01:21 queued 15s
created
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
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
             }
63 63
 
64 64
             if (isset($sqlWhereDate)) {
65
-                $sqlWhere.= ' and '.$sqlWhereDate;
65
+                $sqlWhere .= ' and '.$sqlWhereDate;
66 66
             }
67 67
         }
68 68
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
             $sqlWhereList = 'user_list = \''.$options['list'].'\'';
77 77
 
78
-            $sqlWhere.= ' and '.$sqlWhereList;
78
+            $sqlWhere .= ' and '.$sqlWhereList;
79 79
         }
80 80
 
81 81
         /*
Please login to merge, or discard this patch.