Completed
Pull Request — master (#407)
by Mike
06:43
created
lib/Doctrine/DBAL/Migrations/Version.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 namespace Doctrine\DBAL\Migrations;
21 21
 
22 22
 use Doctrine\DBAL\Migrations\Configuration\Configuration;
23
-use Doctrine\ORM\Proxy\ProxyFactory;
24 23
 use ProxyManager\Factory\LazyLoadingGhostFactory;
25 24
 
26 25
 /**
Please login to merge, or discard this patch.
lib/Doctrine/DBAL/Migrations/LazySchemaManipulator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     {
45 45
         return $this->proxyFactory->createProxy(
46 46
             Schema::class,
47
-            function (& $wrappedObject, $method, array $parameters, & $initializer) {
47
+            function(& $wrappedObject, $method, array $parameters, & $initializer) {
48 48
                 $initializer   = null;
49 49
                 $wrappedObject = $this->originalSchemaManipulator->createFromSchema();
50 50
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function createToSchema(Schema $fromSchema)
61 61
     {
62
-        if ($fromSchema instanceof LazyLoadingInterface && ! $fromSchema->isProxyInitialized()) {
62
+        if ($fromSchema instanceof LazyLoadingInterface && !$fromSchema->isProxyInitialized()) {
63 63
             return $this->createFromSchema();
64 64
         }
65 65
 
@@ -77,8 +77,8 @@  discard block
 block discarded – undo
77 77
         if (
78 78
             $fromSchema instanceof LazyLoadingInterface
79 79
             && $toSchema instanceof LazyLoadingInterface
80
-            && ! $fromSchema->isProxyInitialized()
81
-            && ! $toSchema->isProxyInitialized()
80
+            && !$fromSchema->isProxyInitialized()
81
+            && !$toSchema->isProxyInitialized()
82 82
         ) {
83 83
             return [];
84 84
         }
Please login to merge, or discard this patch.