Passed
Branch develop (7581b2)
by Pierre
06:46 queued 03:37
created
Category
src/Graphviz/AttributeInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Graphviz/RecordInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Graphviz/Vertex.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Graphviz/Attributable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Graphviz/Graph.php 1 patch
Spacing   +4 added lines, -7 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
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
 
@@ -32,12 +32,9 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function __toString()
34 34
     {
35
-        return 'digraph g {'.PHP_EOL.(!count($this->getAttributes()) ? '' :
36
-            implode(PHP_EOL, $this->indentAll($this->getAttributes())).
37
-            PHP_EOL).(!count($this->getVertices()) ? '' :
38
-            implode(PHP_EOL, $this->indentAll($this->getVertices())).
39
-            PHP_EOL).(!count($this->getEdges()) ? '' :
40
-            implode(PHP_EOL, $this->indentAll($this->getEdges())).
35
+        return 'digraph g {'.PHP_EOL.(!count($this->getAttributes()) ? '' : implode(PHP_EOL, $this->indentAll($this->getAttributes())).
36
+            PHP_EOL).(!count($this->getVertices()) ? '' : implode(PHP_EOL, $this->indentAll($this->getVertices())).
37
+            PHP_EOL).(!count($this->getEdges()) ? '' : implode(PHP_EOL, $this->indentAll($this->getEdges())).
41 38
             PHP_EOL).'}';
42 39
     }
43 40
 
Please login to merge, or discard this patch.
src/Graphviz/Graphviz.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Graphviz/Record.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Graphviz/EdgeInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/DoctrinevizBundle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.