Passed
Push — master ( 409e09...a7affd )
by Pierre
17:11 queued 14:41
created
src/Command/DoctrinevizCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Graphviz/Graphviz.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.