Completed
Push — master ( 44f310...207ea5 )
by Torsten
03:42
created
src/Lej/Command/CreateStringIdCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Lej\Command;
6 6
 
@@ -41,6 +41,6 @@  discard block
 block discarded – undo
41 41
             'idClassName' => $idClassName
42 42
         ]);
43 43
 
44
-        file_put_contents($path . '/' . $idClassName . '.php', $id);
44
+        file_put_contents($path.'/'.$idClassName.'.php', $id);
45 45
     }
46 46
 }
Please login to merge, or discard this patch.
src/Lej/Command/CreateEntityCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Lej\Command;
6 6
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         @mkdir($path, 0755, true);
36 36
 
37 37
         $entityClassName = $input->getArgument('name');
38
-        $idClassName = $entityClassName . 'Id';
38
+        $idClassName = $entityClassName.'Id';
39 39
 
40 40
         $entity = $twig->render('entity.php.twig', [
41 41
             'namespace' => $namespace,
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
             'idClassName' => $idClassName
49 49
         ]);
50 50
 
51
-        file_put_contents($path . '/' . $entityClassName . '.php', $entity);
52
-        file_put_contents($path . '/' . $idClassName . '.php', $id);
51
+        file_put_contents($path.'/'.$entityClassName.'.php', $entity);
52
+        file_put_contents($path.'/'.$idClassName.'.php', $id);
53 53
     }
54 54
 }
Please login to merge, or discard this patch.
src/Lej/Command/AbstractCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Lej\Command;
6 6
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     protected function twig() : \Twig_Environment
35 35
     {
36
-        $loader = new \Twig_Loader_Filesystem(__DIR__ . '/../Resources/Template');
36
+        $loader = new \Twig_Loader_Filesystem(__DIR__.'/../Resources/Template');
37 37
         $twig = new \Twig_Environment($loader);
38 38
 
39 39
         return $twig;
Please login to merge, or discard this patch.
src/Lej/Command/CreateDomainEventCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Lej\Command;
6 6
 
@@ -41,6 +41,6 @@  discard block
 block discarded – undo
41 41
             'eventClassName' => $eventClassName
42 42
         ]);
43 43
 
44
-        file_put_contents($path . '/' . $eventClassName . '.php', $event);
44
+        file_put_contents($path.'/'.$eventClassName.'.php', $event);
45 45
     }
46 46
 }
Please login to merge, or discard this patch.
src/Lej/Command/CreateValueObjectCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Lej\Command;
6 6
 
@@ -41,6 +41,6 @@  discard block
 block discarded – undo
41 41
             'objectClassName' => $objectClassName
42 42
         ]);
43 43
 
44
-        file_put_contents($path . '/' . $objectClassName . '.php', $object);
44
+        file_put_contents($path.'/'.$objectClassName.'.php', $object);
45 45
     }
46 46
 }
Please login to merge, or discard this patch.
src/Lej/Command/CreateUuidIdCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Lej\Command;
6 6
 
@@ -41,6 +41,6 @@  discard block
 block discarded – undo
41 41
             'idClassName' => $idClassName
42 42
         ]);
43 43
 
44
-        file_put_contents($path . '/' . $idClassName . '.php', $id);
44
+        file_put_contents($path.'/'.$idClassName.'.php', $id);
45 45
     }
46 46
 }
Please login to merge, or discard this patch.