Completed
Push — master ( 2c2694...691ef6 )
by Patrick
01:21
created
Autoload.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if(file_exists(__DIR__ . '/vendor/autoload.php'))
2
+if (file_exists(__DIR__.'/vendor/autoload.php'))
3 3
 {
4
-    require __DIR__ . '/vendor/autoload.php';
4
+    require __DIR__.'/vendor/autoload.php';
5 5
 }
6
-else if(file_exists(__DIR__ . '/../common/Autoload.php'))
6
+else if (file_exists(__DIR__.'/../common/Autoload.php'))
7 7
 {
8
-    require(__DIR__ . '/../common/Autoload.php');
8
+    require(__DIR__.'/../common/Autoload.php');
9 9
 }
10 10
 
11
-spl_autoload_register(function ($class) {
11
+spl_autoload_register(function($class) {
12 12
 
13 13
     // project-specific namespace prefix
14 14
     $prefix = 'Flipside\\Secure\\';
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     // replace the namespace prefix with the base directory, replace namespace
30 30
     // separators with directory separators in the relative class name, append
31 31
     // with .php
32
-    $file = $base_dir . str_replace('\\', '/', $relative_class) . '.php';
32
+    $file = $base_dir.str_replace('\\', '/', $relative_class).'.php';
33 33
 
34 34
     // if the file exists, require it
35 35
     if (file_exists($file)) {
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,7 @@
 block discarded – undo
2 2
 if(file_exists(__DIR__ . '/vendor/autoload.php'))
3 3
 {
4 4
     require __DIR__ . '/vendor/autoload.php';
5
-}
6
-else if(file_exists(__DIR__ . '/../common/Autoload.php'))
5
+} else if(file_exists(__DIR__ . '/../common/Autoload.php'))
7 6
 {
8 7
     require(__DIR__ . '/../common/Autoload.php');
9 8
 }
Please login to merge, or discard this patch.