Passed
Push — main ( b32dc6...b20dfa )
by Anton
14:56
created
tests/Container/RegularContainerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     protected RegularContainer $class;
27 27
 
28
-    protected array $example = [
28
+    protected array $example=[
29 29
         'foo' => 'bar',
30 30
         'quz' => 'qux'
31 31
     ];
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     protected function setUp(): void
38 38
     {
39
-        $this->class = new RegularContainer();
39
+        $this->class=new RegularContainer();
40 40
     }
41 41
 
42 42
     /**
Please login to merge, or discard this patch.
tests/Container/ContainerTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
     protected ConcreteContainer $class;
26 26
 
27
-    protected array $example = [
27
+    protected array $example=[
28 28
         'foo' => 'bar',
29 29
         'quz' => 'qux'
30 30
     ];
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      */
36 36
     protected function setUp(): void
37 37
     {
38
-        $this->class = new ConcreteContainer();
38
+        $this->class=new ConcreteContainer();
39 39
     }
40 40
 
41 41
     /**
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         $this->class->setFromArray($this->example);
57 57
         $this->class->resetArray();
58 58
 
59
-        $result = $this->class->toArray();
59
+        $result=$this->class->toArray();
60 60
 
61 61
         self::assertArrayHasKey('foo', $result);
62 62
         self::assertArrayHasKey('quz', $result);
Please login to merge, or discard this patch.
tests/Container/ArrayContainerTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     protected ArrayContainer $class;
27 27
 
28
-    protected array $example = [
28
+    protected array $example=[
29 29
         'foo' => 'bar',
30 30
         'quz' => 'qux'
31 31
     ];
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     protected function setUp(): void
38 38
     {
39
-        $this->class = new ArrayContainer();
39
+        $this->class=new ArrayContainer();
40 40
     }
41 41
 
42 42
     /**
@@ -44,8 +44,8 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function testArrayAccess()
46 46
     {
47
-        $this->class['foo'] = 'bar';
48
-        $this->class['quz'] = 'qux';
47
+        $this->class['foo']='bar';
48
+        $this->class['quz']='qux';
49 49
 
50 50
         unset($this->class['quz']);
51 51
 
Please login to merge, or discard this patch.
tests/Container/MagicContainerTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     protected MagicContainer $class;
27 27
 
28
-    protected array $example = [
28
+    protected array $example=[
29 29
         'foo' => 'bar',
30 30
         'quz' => 'qux'
31 31
     ];
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     protected function setUp(): void
38 38
     {
39
-        $this->class = new MagicContainer();
39
+        $this->class=new MagicContainer();
40 40
     }
41 41
 
42 42
     /**
@@ -44,8 +44,8 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function testMagicAccess()
46 46
     {
47
-        $this->class->foo = 'bar';
48
-        $this->class->quz = 'qux';
47
+        $this->class->foo='bar';
48
+        $this->class->quz='qux';
49 49
 
50 50
         unset($this->class->quz);
51 51
 
Please login to merge, or discard this patch.