Passed
Push — master ( 2cf5ee...c2f0d8 )
by F. Javier
02:20
created
src/Utility/DoctrineConnector.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
                 $_ENV['ENTITY_DIR']
41 41
             )
42 42
         ) {
43
-            fwrite(STDERR, 'Faltan variables de entorno por definir' . PHP_EOL);
43
+            fwrite(STDERR, 'Faltan variables de entorno por definir'.PHP_EOL);
44 44
             exit(1);
45 45
         }
46 46
 
@@ -55,12 +55,12 @@  discard block
 block discarded – undo
55 55
             'charset'   => $_ENV['DATABASE_CHARSET'] ?? 'UTF8',
56 56
         ];
57 57
 
58
-        $entityDir = dirname(__DIR__, 2) . '/' . $_ENV['ENTITY_DIR'];
58
+        $entityDir = dirname(__DIR__, 2).'/'.$_ENV['ENTITY_DIR'];
59 59
         $config = Setup::createAnnotationMetadataConfiguration(
60
-            [ $entityDir ],            // paths to mapped entities
61
-            false,                     // developper mode
62
-            ini_get('sys_temp_dir'),   // Proxy dir
63
-            null,                      // Cache implementation
60
+            [$entityDir], // paths to mapped entities
61
+            false, // developper mode
62
+            ini_get('sys_temp_dir'), // Proxy dir
63
+            null, // Cache implementation
64 64
             false                      // use Simple Annotation Reader
65 65
         );
66 66
         $config->setAutoGenerateProxyClasses(true);
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
             $entityManager = EntityManager::create($dbParams, $config);
70 70
         } catch (Throwable $e) {
71 71
             $msg = sprintf('ERROR (%d): %s', $e->getCode(), $e->getMessage());
72
-            fwrite(STDERR, $msg . PHP_EOL);
72
+            fwrite(STDERR, $msg.PHP_EOL);
73 73
             exit(1);
74 74
         }
75 75
 
Please login to merge, or discard this patch.