Completed
Push — master ( 6830ea...f581ef )
by Patrick
01:49 queued 01:05
created
Data/SQLDataSet.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -254,7 +254,8 @@  discard block
 block discarded – undo
254 254
         $stmt = $this->pdo->query($sql);
255 255
         if($stmt === false)
256 256
         {
257
-            if (php_sapi_name() !== "cli") {
257
+            if (php_sapi_name() !== "cli")
258
+            {
258 259
               error_log('DB query failed. '.print_r($this->pdo->errorInfo(), true));
259 260
             }
260 261
             return false;
@@ -304,7 +305,8 @@  discard block
 block discarded – undo
304 305
         $sql = "INSERT INTO `$tablename` ($cols) VALUES ($set);";
305 306
         if($this->pdo->exec($sql) === false)
306 307
         {
307
-            if (php_sapi_name() !== "cli") {
308
+            if (php_sapi_name() !== "cli")
309
+            {
308 310
                 error_log('DB query failed. '.print_r($this->pdo->errorInfo(), true));
309 311
             }
310 312
             return false;
Please login to merge, or discard this patch.
Auth/SQLAuthenticator.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,8 @@
 block discarded – undo
219 219
     public function getGroupByName($name)
220 220
     {
221 221
         $group = $this->getEntityByFilter('group', "cn eq '$name'", '\Flipside\Auth\SQLGroup');
222
-        if($group === null) {
222
+        if($group === null)
223
+        {
223 224
             return $this->getEntityByFilter('group', "gid eq '$name'", '\Flipside\Auth\SQLGroup');
224 225
         }
225 226
         return $group;
Please login to merge, or discard this patch.
Autoload.php 1 patch
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,7 +13,8 @@  discard block
 block discarded – undo
13 13
     require(__DIR__ . '/vendor/autoload.php');
14 14
 }
15 15
 set_include_path(get_include_path() . PATH_SEPARATOR . __DIR__);
16
-spl_autoload_register(function ($class) {
16
+spl_autoload_register(function ($class)
17
+{
17 18
 
18 19
     // project-specific namespace prefix
19 20
     $prefix = 'Flipside\\';
@@ -23,7 +24,8 @@  discard block
 block discarded – undo
23 24
 
24 25
     // does the class use the namespace prefix?
25 26
     $len = strlen($prefix);
26
-    if (strncmp($prefix, $class, $len) !== 0) {
27
+    if (strncmp($prefix, $class, $len) !== 0)
28
+    {
27 29
         // no, move to the next registered autoloader
28 30
         return;
29 31
     }
@@ -37,7 +39,8 @@  discard block
 block discarded – undo
37 39
     $file = $base_dir . str_replace('\\', '/', $relative_class) . '.php';
38 40
 
39 41
     // if the file exists, require it
40
-    if (file_exists($file)) {
42
+    if (file_exists($file))
43
+    {
41 44
         require $file;
42 45
     }
43 46
 });
Please login to merge, or discard this patch.