Failed Conditions
Pull Request — master (#6796)
by
unknown
22:43
created
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC6786Test.php 2 patches
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Doctrine\Tests\ORM\Functional\Ticket;
3 3
 
4
-use Doctrine\Tests\Models\DDC6786\Endpoint;
5
-use Doctrine\Tests\Models\DDC6786\EndpointServerConfig;
6
-use Doctrine\Tests\Models\DDC6786\Server;
4
+use Doctrine\Tests\Models\DDC6786\Endpoint;
5
+use Doctrine\Tests\Models\DDC6786\EndpointServerConfig;
6
+use Doctrine\Tests\Models\DDC6786\Server;
7 7
 use Doctrine\Tests\OrmFunctionalTestCase;
8 8
 
9 9
 class DDC6786Test extends OrmFunctionalTestCase
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
                     $this->_em->getClassMetadata(Endpoint::class),
22 22
                 ]
23 23
             );
24
-        } catch(\Exception $e) {
24
+        } catch (\Exception $e) {
25 25
             $breakpoint = null;
26 26
         }
27 27
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/DDC6786/EndpointServerConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     public function setServer(Server $server = null)
94 94
     {
95 95
 
96
-        if(! $server || ! $server->getName()) {
96
+        if ( ! $server || ! $server->getName()) {
97 97
             $server = null;
98 98
         }
99 99
         $this->server = $server;
Please login to merge, or discard this patch.