@@ -60,7 +60,7 @@ |
||
60 | 60 | $pattern = '/'.$input->getOption('pattern').'/'; |
61 | 61 | /** @var EntityManager $em */ |
62 | 62 | $em = $this->getContainer()->get('doctrine')->getManager(); |
63 | - $entities = array_filter($em->getConfiguration()->getMetadataDriverImpl()->getAllClassNames(), function ($entity) use ($pattern) { |
|
63 | + $entities = array_filter($em->getConfiguration()->getMetadataDriverImpl()->getAllClassNames(), function($entity) use ($pattern) { |
|
64 | 64 | return preg_match($pattern, $entity); |
65 | 65 | }); |
66 | 66 | $graph = new Graph(); |
@@ -166,7 +166,7 @@ |
||
166 | 166 | */ |
167 | 167 | protected function execute(string $format, ...$args): Process |
168 | 168 | { |
169 | - $process = new Process(sprintf($format, ...array_map(function ($arg, $index) use ($format) { |
|
169 | + $process = new Process(sprintf($format, ...array_map(function($arg, $index) use ($format) { |
|
170 | 170 | return 0 === $index && 0 === strpos('%s', $format) ? escapeshellcmd($arg) : escapeshellarg($arg); |
171 | 171 | }, $args, array_keys($args)))); |
172 | 172 | $process->mustRun(); |