Passed
Pull Request — master (#1190)
by Aleksei
20:19 queued 07:41
created
src/Console/tests/Fixtures/UpdateClass.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,10 +9,12 @@
 block discarded – undo
9 9
 
10 10
 final class UpdateClass
11 11
 {
12
-    public function do(OutputInterface $output): void
12
+    public function do{
13
+        (OutputInterface $output): void
13 14
     {
14 15
         $output->write('OK');
15 16
     }
17
+    }
16 18
 
17 19
     public function err(OutputInterface $output): void
18 20
     {
Please login to merge, or discard this patch.
src/Prototype/tests/UtilsTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
18 18
 
19 19
     public static function trailingProvider(): \Traversable
20 20
     {
21
-        yield ['name7', 7, 'name',];
22
-        yield ['name', 0, 'name',];
23
-        yield ['name0', 0, 'name',];
21
+        yield ['name7', 7, 'name', ];
22
+        yield ['name', 0, 'name', ];
23
+        yield ['name0', 0, 'name', ];
24 24
         yield ['name1', 1, 'name'];
25 25
         yield ['name-1', 1, 'name-'];
26 26
         yield ['name-1', -1, 'name'];
Please login to merge, or discard this patch.
src/Prototype/tests/ClassNode/ConflictResolver/SequenceTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -22,15 +22,15 @@
 block discarded – undo
22 22
         // empty input
23 23
         yield [[], 5, 5];
24 24
         // in the gap (not taken)
25
-        yield [[3, 4, 8, 9,], 6, 6];
26
-        yield [[3, 4, 8, 9,], 1, 1];
25
+        yield [[3, 4, 8, 9, ], 6, 6];
26
+        yield [[3, 4, 8, 9, ], 1, 1];
27 27
         // in the sequence (taken)
28
-        yield [[3, 4, 8, 9,], 4, 0];
29
-        yield [[0, 1, 4, 5,], 5, 2];
28
+        yield [[3, 4, 8, 9, ], 4, 0];
29
+        yield [[0, 1, 4, 5, ], 5, 2];
30 30
         // do not use "1"
31
-        yield [[0, 3, 4, 8,], 4, 2];
31
+        yield [[0, 3, 4, 8, ], 4, 2];
32 32
         // full sequence, take next
33
-        yield [[0, 1, 2, 3,], 3, 4];
33
+        yield [[0, 1, 2, 3, ], 3, 4];
34 34
         yield [[0], 0, 2];
35 35
     }
36 36
 
Please login to merge, or discard this patch.
src/Core/tests/Internal/Container/BaseTestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,14 +26,14 @@
 block discarded – undo
26 26
         parent::setUp();
27 27
     }
28 28
 
29
-    protected function bind(string $alias, string|array|callable|object $resolver): void
29
+    protected function bind(string $alias, string | array | callable | object $resolver): void
30 30
     {
31 31
         $binder = $this->constructor->get('binder', BinderInterface::class);
32 32
         \assert($binder instanceof BinderInterface);
33 33
         $binder->bind($alias, $resolver);
34 34
     }
35 35
 
36
-    protected function bindSingleton(string $alias, string|array|callable|object $resolver): void
36
+    protected function bindSingleton(string $alias, string | array | callable | object $resolver): void
37 37
     {
38 38
         $binder = $this->constructor->get('binder', BinderInterface::class);
39 39
         \assert($binder instanceof BinderInterface);
Please login to merge, or discard this patch.
src/Core/tests/Internal/BaseTestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,14 +26,14 @@
 block discarded – undo
26 26
         parent::setUp();
27 27
     }
28 28
 
29
-    protected function bind(string $alias, string|array|callable|object $resolver): void
29
+    protected function bind(string $alias, string | array | callable | object $resolver): void
30 30
     {
31 31
         $binder = $this->constructor->get('binder', BinderInterface::class);
32 32
         \assert($binder instanceof BinderInterface);
33 33
         $binder->bind($alias, $resolver);
34 34
     }
35 35
 
36
-    protected function bindSingleton(string $alias, string|array|callable|object $resolver): void
36
+    protected function bindSingleton(string $alias, string | array | callable | object $resolver): void
37 37
     {
38 38
         $binder = $this->constructor->get('binder', BinderInterface::class);
39 39
         \assert($binder instanceof BinderInterface);
Please login to merge, or discard this patch.
src/Stempler/tests/Syntax/BaseTestCase.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     {
31 31
         $parser = new Parser();
32 32
 
33
-        foreach (static::GRAMMARS as $grammar => $syntax) {
33
+        foreach (static::GRAMMARS as $grammar => $syntax){
34 34
             $parser->addSyntax(new $grammar(), new $syntax());
35 35
         }
36 36
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,8 @@
 block discarded – undo
30 30
     {
31 31
         $parser = new Parser();
32 32
 
33
-        foreach (static::GRAMMARS as $grammar => $syntax) {
33
+        foreach (static::GRAMMARS as $grammar => $syntax)
34
+        {
34 35
             $parser->addSyntax(new $grammar(), new $syntax());
35 36
         }
36 37
 
Please login to merge, or discard this patch.
src/Stempler/tests/Directive/BaseTestCase.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,12 +42,12 @@
 block discarded – undo
42 42
     protected function compile(Template $document): string
43 43
     {
44 44
         $compiler = new Compiler();
45
-        foreach (static::RENDERS as $renderer) {
45
+        foreach (static::RENDERS as $renderer){
46 46
             $compiler->addRenderer(new $renderer());
47 47
         }
48 48
 
49 49
         $directiveGroup = new DirectiveGroup();
50
-        foreach (static::DIRECTIVES as $directive) {
50
+        foreach (static::DIRECTIVES as $directive){
51 51
             $directiveGroup->addDirective(new $directive());
52 52
         }
53 53
 
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,12 +42,14 @@
 block discarded – undo
42 42
     protected function compile(Template $document): string
43 43
     {
44 44
         $compiler = new Compiler();
45
-        foreach (static::RENDERS as $renderer) {
45
+        foreach (static::RENDERS as $renderer)
46
+        {
46 47
             $compiler->addRenderer(new $renderer());
47 48
         }
48 49
 
49 50
         $directiveGroup = new DirectiveGroup();
50
-        foreach (static::DIRECTIVES as $directive) {
51
+        foreach (static::DIRECTIVES as $directive)
52
+        {
51 53
             $directiveGroup->addDirective(new $directive());
52 54
         }
53 55
 
Please login to merge, or discard this patch.
src/Stempler/tests/Compiler/BaseTestCase.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     protected function compile(Template $document): string
35 35
     {
36 36
         $compiler = new Compiler();
37
-        foreach (static::RENDERS as $renderer) {
37
+        foreach (static::RENDERS as $renderer){
38 38
             $compiler->addRenderer(new $renderer());
39 39
         }
40 40
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     {
50 50
         $parser = new Parser();
51 51
 
52
-        foreach (static::GRAMMARS as $grammar => $syntax) {
52
+        foreach (static::GRAMMARS as $grammar => $syntax){
53 53
             $parser->addSyntax(new $grammar(), new $syntax());
54 54
         }
55 55
 
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,8 @@  discard block
 block discarded – undo
34 34
     protected function compile(Template $document): string
35 35
     {
36 36
         $compiler = new Compiler();
37
-        foreach (static::RENDERS as $renderer) {
37
+        foreach (static::RENDERS as $renderer)
38
+        {
38 39
             $compiler->addRenderer(new $renderer());
39 40
         }
40 41
 
@@ -49,7 +50,8 @@  discard block
 block discarded – undo
49 50
     {
50 51
         $parser = new Parser();
51 52
 
52
-        foreach (static::GRAMMARS as $grammar => $syntax) {
53
+        foreach (static::GRAMMARS as $grammar => $syntax)
54
+        {
53 55
             $parser->addSyntax(new $grammar(), new $syntax());
54 56
         }
55 57
 
Please login to merge, or discard this patch.
src/Filters/tests/Model/AttributeTestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 
10 10
 abstract class AttributeTestCase extends m\Adapter\Phpunit\MockeryTestCase
11 11
 {
12
-    protected m\LegacyMockInterface|m\MockInterface|InputInterface $input;
12
+    protected m\LegacyMockInterface | m\MockInterface | InputInterface $input;
13 13
     protected string $baz;
14 14
 
15 15
     protected function setUp(): void
Please login to merge, or discard this patch.