Completed
Branch master (e85608)
by Ramūnas
12:11
created
Command/DumpMigrationsCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
         $allMetadata = $doctrine->getManager()->getMetadataFactory()->getAllMetadata();
113 113
         array_walk(
114 114
             $allMetadata,
115
-            function (ClassMetadata $entityMetadata) {
115
+            function(ClassMetadata $entityMetadata) {
116 116
                 if ($this->namespace) {
117 117
                     if ($entityMetadata->namespace == $this->namespace) {
118 118
                         $this->allowedTables[$entityMetadata->getTableName()] = true;
Please login to merge, or discard this patch.
Tests/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$loader = require_once __DIR__.'/../vendor/autoload.php';
3
+$loader = require_once __DIR__ . '/../vendor/autoload.php';
4 4
 use Doctrine\Common\Annotations\AnnotationRegistry;
5 5
 AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
Please login to merge, or discard this patch.
Tests/Unit/Migration/Loader/MigrationsLoaderTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
             ->method('dispatch')
71 71
             ->will(
72 72
                 $this->returnCallback(
73
-                    function ($eventName, $event) use (&$installed) {
73
+                    function($eventName, $event) use (&$installed) {
74 74
                         if ($eventName === MigrationEvents::PRE_UP) {
75 75
                             if (null !== $installed) {
76 76
                                 foreach ($installed as $val) {
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     protected function getMigrationClasses(array $migrations)
97 97
     {
98 98
         return array_map(
99
-            function ($migration) {
99
+            function($migration) {
100 100
                 return get_class($migration->getMigration());
101 101
             },
102 102
             $migrations
Please login to merge, or discard this patch.
Tests/Unit/Migration/Extension/RenameExtensionTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         $extension = new RenameExtension();
44 44
         $extension->setDatabasePlatform($platform);
45 45
 
46
-        $schema  = new Schema(
46
+        $schema = new Schema(
47 47
             [
48 48
                 new Table(
49 49
                     'test_table',
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
             [new MySqlPlatform(), 'ALTER TABLE test_table CHANGE old_column new_column VARCHAR(100) NOT NULL'],
161 161
             [new PostgreSqlPlatform(), 'ALTER TABLE test_table RENAME COLUMN old_column TO new_column'],
162 162
             [new OraclePlatform(), 'ALTER TABLE test_table RENAME COLUMN old_column TO new_column'],
163
-            [new SQLServer2005Platform(), "sp_RENAME 'test_table.old_column', 'new_column', 'COLUMN'",],
163
+            [new SQLServer2005Platform(), "sp_RENAME 'test_table.old_column', 'new_column', 'COLUMN'", ],
164 164
         ];
165 165
     }
166 166
 
Please login to merge, or discard this patch.