Passed
Push — master ( 04a567...992e53 )
by Kirill
05:40 queued 19s
created
src/Console/tests/LazyTest.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     public function testLazyCommandCreationInCommandLocator(): void
22 22
     {
23 23
         $locator = new CommandLocator(
24
-            new class() implements ClassesInterface {
24
+            new class() implements ClassesInterface{
25 25
                 public function getClasses($target = null): array
26 26
                 {
27 27
                     return [
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,8 @@
 block discarded – undo
21 21
     public function testLazyCommandCreationInCommandLocator(): void
22 22
     {
23 23
         $locator = new CommandLocator(
24
-            new class() implements ClassesInterface {
24
+            new class() implements ClassesInterface
25
+            {
25 26
                 public function getClasses($target = null): array
26 27
                 {
27 28
                     return [
Please login to merge, or discard this patch.
src/Console/src/Traits/LazyTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
                 ? $class::DESCRIPTION
43 43
                 : '',
44 44
             false,
45
-            function () use ($class): SymfonyCommand {
45
+            function () use ($class) : SymfonyCommand {
46 46
                 $command = $this->container->get($class);
47 47
                 $command->setContainer($this->container);
48 48
 
Please login to merge, or discard this patch.
src/Console/src/StaticLocator.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     public function locateCommands(): array
42 42
     {
43 43
         $commands = [];
44
-        foreach ($this->commands as $command) {
44
+        foreach ($this->commands as $command){
45 45
             $commands[] = $this->supportsLazyLoading($command)
46 46
                 ? $this->createLazyCommand($command)
47 47
                 : $this->container->get($command);
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,8 @@
 block discarded – undo
41 41
     public function locateCommands(): array
42 42
     {
43 43
         $commands = [];
44
-        foreach ($this->commands as $command) {
44
+        foreach ($this->commands as $command)
45
+        {
45 46
             $commands[] = $this->supportsLazyLoading($command)
46 47
                 ? $this->createLazyCommand($command)
47 48
                 : $this->container->get($command);
Please login to merge, or discard this patch.