Test Failed
Pull Request — master (#902)
by butschster
08:55
created
src/Scaffolder/src/Declaration/BootloaderDeclaration.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,8 @@
 block discarded – undo
41 41
         $this->class->addConstant('SINGLETONS', [])->setProtected();
42 42
         $this->class->addConstant('DEPENDENCIES', [])->setProtected();
43 43
 
44
-        if ($this->isDomain) {
44
+        if ($this->isDomain)
45
+        {
45 46
             $this->class->addConstant('INTERCEPTORS', [])->setProtected();
46 47
             $this->namespace->addUse(CoreInterface::class);
47 48
             $this->class->getConstant('SINGLETONS')->setValue([
Please login to merge, or discard this patch.
src/Scaffolder/tests/Command/CommandTest.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,8 @@
 block discarded – undo
24 24
             'alias' => $alias,
25 25
             '--description' => 'My sample command description',
26 26
         ];
27
-        if ($alias === null) {
27
+        if ($alias === null)
28
+        {
28 29
             unset($input['alias']);
29 30
         }
30 31
 
Please login to merge, or discard this patch.
src/Scaffolder/src/Command/CommandCommand.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,11 +48,13 @@
 block discarded – undo
48 48
             'alias' => $this->alias ?? \strtolower(\preg_replace('/(?<!^)[A-Z]/', ':$0', $this->name)),
49 49
         ]);
50 50
 
51
-        foreach ($this->arguments as $argument) {
51
+        foreach ($this->arguments as $argument)
52
+        {
52 53
             $declaration->addArgument($argument);
53 54
         }
54 55
 
55
-        foreach ($this->options as $option) {
56
+        foreach ($this->options as $option)
57
+        {
56 58
             $declaration->addOption($option);
57 59
         }
58 60
 
Please login to merge, or discard this patch.
src/Scaffolder/src/Declaration/CommandDeclaration.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,8 @@
 block discarded – undo
69 69
             'name' => $this->alias,
70 70
         ];
71 71
 
72
-        if ($this->description) {
72
+        if ($this->description)
73
+        {
73 74
             $commandDefinition['description'] = $this->description;
74 75
         }
75 76
 
Please login to merge, or discard this patch.