@@ -24,16 +24,16 @@ |
||
| 24 | 24 | { |
| 25 | 25 | self::$di = new DIFactoryConfig(); |
| 26 | 26 | self::$di->loadServices([ |
| 27 | - "services" => [ |
|
| 28 | - "user" => [ |
|
| 29 | - "active" => false, |
|
| 30 | - "shared" => true, |
|
| 31 | - "callback" => function () { |
|
| 32 | - $obj = new MockHandlerDiService(); |
|
| 33 | - return $obj; |
|
| 34 | - } |
|
| 35 | - ], |
|
| 36 | - ], |
|
| 27 | + "services" => [ |
|
| 28 | + "user" => [ |
|
| 29 | + "active" => false, |
|
| 30 | + "shared" => true, |
|
| 31 | + "callback" => function () { |
|
| 32 | + $obj = new MockHandlerDiService(); |
|
| 33 | + return $obj; |
|
| 34 | + } |
|
| 35 | + ], |
|
| 36 | + ], |
|
| 37 | 37 | ]); |
| 38 | 38 | } |
| 39 | 39 | |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | public function testAcceptsSucceeds($expected, $actual): void |
| 82 | 82 | { |
| 83 | 83 | $this->assertTrue( |
| 84 | - $this->comparator->accepts($expected, $actual) |
|
| 84 | + $this->comparator->accepts($expected, $actual) |
|
| 85 | 85 | ); |
| 86 | 86 | } |
| 87 | 87 | |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | public function testAcceptsFails($expected, $actual): void |
| 92 | 92 | { |
| 93 | 93 | $this->assertFalse( |
| 94 | - $this->comparator->accepts($expected, $actual) |
|
| 94 | + $this->comparator->accepts($expected, $actual) |
|
| 95 | 95 | ); |
| 96 | 96 | } |
| 97 | 97 | |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | public function testAcceptsSucceeds($expected, $actual): void |
| 82 | 82 | { |
| 83 | 83 | $this->assertTrue( |
| 84 | - $this->comparator->accepts($expected, $actual) |
|
| 84 | + $this->comparator->accepts($expected, $actual) |
|
| 85 | 85 | ); |
| 86 | 86 | } |
| 87 | 87 | |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | public function testAcceptsFails($expected, $actual): void |
| 92 | 92 | { |
| 93 | 93 | $this->assertFalse( |
| 94 | - $this->comparator->accepts($expected, $actual) |
|
| 94 | + $this->comparator->accepts($expected, $actual) |
|
| 95 | 95 | ); |
| 96 | 96 | } |
| 97 | 97 | |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | public function testAcceptsSucceeds($expected, $actual): void |
| 82 | 82 | { |
| 83 | 83 | $this->assertTrue( |
| 84 | - $this->comparator->accepts($expected, $actual) |
|
| 84 | + $this->comparator->accepts($expected, $actual) |
|
| 85 | 85 | ); |
| 86 | 86 | } |
| 87 | 87 | |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | public function testAcceptsFails($expected, $actual): void |
| 92 | 92 | { |
| 93 | 93 | $this->assertFalse( |
| 94 | - $this->comparator->accepts($expected, $actual) |
|
| 94 | + $this->comparator->accepts($expected, $actual) |
|
| 95 | 95 | ); |
| 96 | 96 | } |
| 97 | 97 | |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | public function testAcceptsSucceeds($expected, $actual): void |
| 82 | 82 | { |
| 83 | 83 | $this->assertTrue( |
| 84 | - $this->comparator->accepts($expected, $actual) |
|
| 84 | + $this->comparator->accepts($expected, $actual) |
|
| 85 | 85 | ); |
| 86 | 86 | } |
| 87 | 87 | |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | public function testAcceptsFails($expected, $actual): void |
| 92 | 92 | { |
| 93 | 93 | $this->assertFalse( |
| 94 | - $this->comparator->accepts($expected, $actual) |
|
| 94 | + $this->comparator->accepts($expected, $actual) |
|
| 95 | 95 | ); |
| 96 | 96 | } |
| 97 | 97 | |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | public function testAcceptsSucceeds($expected, $actual): void |
| 82 | 82 | { |
| 83 | 83 | $this->assertTrue( |
| 84 | - $this->comparator->accepts($expected, $actual) |
|
| 84 | + $this->comparator->accepts($expected, $actual) |
|
| 85 | 85 | ); |
| 86 | 86 | } |
| 87 | 87 | |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | public function testAcceptsFails($expected, $actual): void |
| 92 | 92 | { |
| 93 | 93 | $this->assertFalse( |
| 94 | - $this->comparator->accepts($expected, $actual) |
|
| 94 | + $this->comparator->accepts($expected, $actual) |
|
| 95 | 95 | ); |
| 96 | 96 | } |
| 97 | 97 | |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | public function testAcceptsSucceeds($expected, $actual): void |
| 82 | 82 | { |
| 83 | 83 | $this->assertTrue( |
| 84 | - $this->comparator->accepts($expected, $actual) |
|
| 84 | + $this->comparator->accepts($expected, $actual) |
|
| 85 | 85 | ); |
| 86 | 86 | } |
| 87 | 87 | |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | public function testAcceptsFails($expected, $actual): void |
| 92 | 92 | { |
| 93 | 93 | $this->assertFalse( |
| 94 | - $this->comparator->accepts($expected, $actual) |
|
| 94 | + $this->comparator->accepts($expected, $actual) |
|
| 95 | 95 | ); |
| 96 | 96 | } |
| 97 | 97 | |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | public function testAcceptsSucceeds($expected, $actual): void |
| 82 | 82 | { |
| 83 | 83 | $this->assertTrue( |
| 84 | - $this->comparator->accepts($expected, $actual) |
|
| 84 | + $this->comparator->accepts($expected, $actual) |
|
| 85 | 85 | ); |
| 86 | 86 | } |
| 87 | 87 | |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | public function testAcceptsFails($expected, $actual): void |
| 92 | 92 | { |
| 93 | 93 | $this->assertFalse( |
| 94 | - $this->comparator->accepts($expected, $actual) |
|
| 94 | + $this->comparator->accepts($expected, $actual) |
|
| 95 | 95 | ); |
| 96 | 96 | } |
| 97 | 97 | |