Test Failed
Pull Request — master (#1102)
by Aleksei
10:00
created
src/Bridge/Monolog/tests/FactoryTest.php 1 patch
Braces   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,7 +55,8 @@  discard block
 block discarded – undo
55 55
         $logger = $factory->getLogger();
56 56
 
57 57
         $this->container->bind(ConfiguratorInterface::class, new ConfigManager(
58
-            new class() implements LoaderInterface {
58
+            new class() implements LoaderInterface
59
+            {
59 60
                 public function has(string $section): bool
60 61
                 {
61 62
                     return false;
@@ -85,7 +86,8 @@  discard block
 block discarded – undo
85 86
         $this->container->get(StrategyBasedBootloadManager::class)->bootload([MonologBootloader::class]);
86 87
         $this->container->bind(LogFactory::class, $factory);
87 88
 
88
-        $this->container->invoke(function (#[LoggerChannel('foo')] LoggerInterface $logger) {
89
+        $this->container->invoke(function (#[LoggerChannel('foo')] LoggerInterface $logger)
90
+        {
89 91
             $this->assertSame('foo', $logger->getName());
90 92
         });
91 93
     }
@@ -93,7 +95,8 @@  discard block
 block discarded – undo
93 95
     public function testFinalizerShouldResetDefaultLogger()
94 96
     {
95 97
         $this->container->bind(ConfiguratorInterface::class, new ConfigManager(
96
-            new class() implements LoaderInterface {
98
+            new class() implements LoaderInterface
99
+            {
97 100
                 public function has(string $section): bool
98 101
                 {
99 102
                     return false;
@@ -133,7 +136,8 @@  discard block
 block discarded – undo
133 136
     public function testFinalizerShouldNotResetLoggerWhenApplicationTerminating()
134 137
     {
135 138
         $this->container->bind(ConfiguratorInterface::class, new ConfigManager(
136
-            new class() implements LoaderInterface {
139
+            new class() implements LoaderInterface
140
+            {
137 141
                 public function has(string $section): bool
138 142
                 {
139 143
                     return false;
Please login to merge, or discard this patch.