@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | * @author Pierre Hennequart <[email protected]> |
14 | 14 | */ |
15 | 15 | |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Janalis\Doctrineviz\Command; |
19 | 19 | |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | $pattern = '/'.$input->getOption('pattern').'/'; |
63 | 63 | /** @var EntityManager $em */ |
64 | 64 | $em = $this->getContainer()->get('doctrine')->getManager(); |
65 | - $entities = array_filter($em->getConfiguration()->getMetadataDriverImpl()->getAllClassNames(), function ($entity) use ($pattern) { |
|
65 | + $entities = array_filter($em->getConfiguration()->getMetadataDriverImpl()->getAllClassNames(), function($entity) use ($pattern) { |
|
66 | 66 | return preg_match($pattern, $entity); |
67 | 67 | }); |
68 | 68 | $graph = new Graph(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * @author Pierre Hennequart <[email protected]> |
14 | 14 | */ |
15 | 15 | |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Janalis\Doctrineviz\DependencyInjection; |
19 | 19 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * @author Pierre Hennequart <[email protected]> |
14 | 14 | */ |
15 | 15 | |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Janalis\Doctrineviz\Graphviz; |
19 | 19 |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | * @author Pierre Hennequart <[email protected]> |
14 | 14 | */ |
15 | 15 | |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Janalis\Doctrineviz\Graphviz; |
19 | 19 | |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | */ |
165 | 165 | protected function execute(string $format, ...$args): Process |
166 | 166 | { |
167 | - $process = new Process(sprintf($format, ...array_map(function ($arg, $index) use ($format) { |
|
167 | + $process = new Process(sprintf($format, ...array_map(function($arg, $index) use ($format) { |
|
168 | 168 | return 0 === $index && 0 === strpos('%s', $format) ? escapeshellcmd($arg) : escapeshellarg($arg); |
169 | 169 | }, $args, array_keys($args)))); |
170 | 170 | $process->mustRun(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * @author Pierre Hennequart <[email protected]> |
14 | 14 | */ |
15 | 15 | |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Janalis\Doctrineviz; |
19 | 19 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * @author Pierre Hennequart <[email protected]> |
14 | 14 | */ |
15 | 15 | |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Janalis\Doctrineviz\DependencyInjection; |
19 | 19 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * @author Pierre Hennequart <[email protected]> |
14 | 14 | */ |
15 | 15 | |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Janalis\Doctrineviz\Graphviz; |
19 | 19 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * @author Pierre Hennequart <[email protected]> |
14 | 14 | */ |
15 | 15 | |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Janalis\Doctrineviz\Graphviz; |
19 | 19 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * @author Pierre Hennequart <[email protected]> |
14 | 14 | */ |
15 | 15 | |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Janalis\Doctrineviz\Graphviz; |
19 | 19 |