Completed
Push — master ( 59750b...1a9b2e )
by
unknown
04:57 queued 01:27
created
src/Facebook/autoload.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     throw new Exception('The Facebook SDK requires PHP version 5.4 or higher.');
33 33
 }
34 34
 
35
-require_once __DIR__ . 'polyfills.php';
35
+require_once __DIR__.'polyfills.php';
36 36
 
37 37
 /**
38 38
  * Register the autoloader for the Facebook SDK classes.
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
  *
45 45
  * @return void
46 46
  */
47
-spl_autoload_register(function ($class) {
47
+spl_autoload_register(function($class) {
48 48
     // project-specific namespace prefix
49 49
     $prefix = 'Facebook\\';
50 50
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         $customBaseDir = FACEBOOK_SDK_SRC_DIR;
58 58
     }
59 59
     // base directory for the namespace prefix
60
-    $baseDir = $customBaseDir ?: __DIR__ . '/';
60
+    $baseDir = $customBaseDir ?: __DIR__.'/';
61 61
 
62 62
     // does the class use the namespace prefix?
63 63
     $len = strlen($prefix);
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     // replace the namespace prefix with the base directory, replace namespace
73 73
     // separators with directory separators in the relative class name, append
74 74
     // with .php
75
-    $file = rtrim($baseDir, '/') . '/' . str_replace('\\', '/', $relativeClass) . '.php';
75
+    $file = rtrim($baseDir, '/').'/'.str_replace('\\', '/', $relativeClass).'.php';
76 76
 
77 77
     // if the file exists, require it
78 78
     if (file_exists($file)) {
Please login to merge, or discard this patch.