| @@ -26,13 +26,13 @@ | ||
| 26 | 26 | $events->attach( | 
| 27 | 27 | 'doctrine', | 
| 28 | 28 | 'loadCli.post', | 
| 29 | -            function (EventInterface $e) { | |
| 29 | +            function(EventInterface $e) { | |
| 30 | 30 | /* @var $cli Application */ | 
| 31 | 31 | $cli = $e->getTarget(); | 
| 32 | 32 |                  $em = $cli->getHelperSet()->get('em')->getEntityManager(); | 
| 33 | 33 | ConsoleRunner::addCommands($cli); | 
| 34 | 34 | |
| 35 | - $cli->addCommands([new GenerateTraitCommand($em)]); | |
| 35 | + $cli->addCommands([ new GenerateTraitCommand($em) ]); | |
| 36 | 36 | } | 
| 37 | 37 | ); | 
| 38 | 38 | } | 
| @@ -134,7 +134,7 @@ | ||
| 134 | 134 | 'get%sRepository', | 
| 135 | 135 | $reflection->getShortName() | 
| 136 | 136 | ), | 
| 137 | - [], | |
| 137 | + [ ], | |
| 138 | 138 | MethodGenerator::FLAG_PUBLIC, | 
| 139 | 139 | sprintf( | 
| 140 | 140 | 'return $this->%s->getRepository(\\%s::class);', | 
| @@ -11,7 +11,7 @@ discard block | ||
| 11 | 11 | |
| 12 | 12 | // Decline static file requests back to the PHP built-in webserver | 
| 13 | 13 |  if (php_sapi_name() === 'cli-server') { | 
| 14 | - $path = realpath(__DIR__ . parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)); | |
| 14 | + $path = realpath(__DIR__ . parse_url($_SERVER[ 'REQUEST_URI' ], PHP_URL_PATH)); | |
| 15 | 15 |      if (__FILE__ !== $path && is_file($path)) { | 
| 16 | 16 | return false; | 
| 17 | 17 | } | 
| @@ -21,7 +21,7 @@ discard block | ||
| 21 | 21 | // Composer autoloading | 
| 22 | 22 | include __DIR__ . '/../vendor/autoload.php'; | 
| 23 | 23 | |
| 24 | -if (! class_exists(Application::class)) { | |
| 24 | +if (!class_exists(Application::class)) { | |
| 25 | 25 | throw new RuntimeException( | 
| 26 | 26 | "Unable to load application.\n" | 
| 27 | 27 | . "- Type `composer install` if you are developing locally.\n" |