Passed
Push — master ( 170400...2bed29 )
by Georges
01:44
created
lib/Phpfastcache/Autoload/Autoload.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
  * Register Autoload
31 31
  */
32 32
 spl_autoload_register(
33
-    static function ($entity): void {
33
+    static function($entity): void {
34 34
         $module = explode('\\', $entity, 2);
35 35
         if (!\in_array($module[0], ['Phpfastcache', 'Psr'])) {
36 36
             /**
@@ -64,9 +64,9 @@  discard block
 block discarded – undo
64 64
 
65 65
         $entityPath = str_replace('\\', '/', $entity);
66 66
 
67
-        if(\strpos($entity, PFC_TESTS_NS) === 0){
67
+        if (\strpos($entity, PFC_TESTS_NS) === 0) {
68 68
             $path = PFC_TESTS_DIR . \str_replace(str_replace('\\', '/', PFC_TESTS_NS), '', $entityPath) . '.' . PFC_PHP_EXT;
69
-        }else{
69
+        } else {
70 70
             $path = PFC_LIB_DIR . $entityPath . '.' . PFC_PHP_EXT;
71 71
         }
72 72
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
         if(\strpos($entity, PFC_TESTS_NS) === 0){
68 68
             $path = PFC_TESTS_DIR . \str_replace(str_replace('\\', '/', PFC_TESTS_NS), '', $entityPath) . '.' . PFC_PHP_EXT;
69
-        }else{
69
+        } else{
70 70
             $path = PFC_LIB_DIR . $entityPath . '.' . PFC_PHP_EXT;
71 71
         }
72 72
 
Please login to merge, or discard this patch.