Passed
Push — master ( e17376...74a3c9 )
by Asmir
01:07 queued 17s
created
DoctrineMigrationsBundle.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,6 +17,6 @@
 block discarded – undo
17 17
 {
18 18
     public function build(ContainerBuilder $builder)
19 19
     {
20
-      $builder->addCompilerPass(new ConfigureDependencyFactoryPass());
20
+        $builder->addCompilerPass(new ConfigureDependencyFactoryPass());
21 21
     }
22 22
 }
Please login to merge, or discard this patch.
Tests/DependencyInjection/DoctrineMigrationsExtensionTest.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
         $container->setAlias('doctrine.migrations.configuration.test', new Alias('doctrine.migrations.configuration', true));
43 43
 
44
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Fixtures'));
44
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Fixtures'));
45 45
         $loader->load('conf.xml');
46 46
 
47 47
         $container->compile();
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
 
131 131
     public function testCustomSorter() : void
132 132
     {
133
-        $config    = [
133
+        $config = [
134 134
             'migrations_paths' => ['DoctrineMigrationsTest' => 'a'],
135 135
             'services' => [Comparator::class => 'my_sorter'],
136 136
         ];
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
         $conn = $this->createMock(Connection::class);
140 140
         $container->set('doctrine.dbal.default_connection', $conn);
141 141
 
142
-        $sorter = new class() implements Comparator{
142
+        $sorter = new class() implements Comparator {
143 143
             public function compare(Version $a, Version $b) : int
144 144
             {
145 145
             }
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
 
156 156
     public function testCustomConnection() : void
157 157
     {
158
-        $config    = [
158
+        $config = [
159 159
             'migrations_paths' => ['DoctrineMigrationsTest' => 'a'],
160 160
             'connection' => 'custom',
161 161
         ];
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
 
193 193
     public function testCustomEntityManager() : void
194 194
     {
195
-        $config    = [
195
+        $config = [
196 196
             'em' => 'custom',
197 197
             'migrations_paths' => ['DoctrineMigrationsTest' => 'a'],
198 198
         ];
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
         $this->expectException(InvalidConfigurationException::class);
242 242
         $this->expectExceptionMessage('Invalid configuration for path "doctrine_migrations.services": Valid services for the DoctrineMigrationsBundle must be in the "Doctrine\Migrations" namespace.');
243 243
 
244
-        $config    = [
244
+        $config = [
245 245
             'migrations_paths' => ['DoctrineMigrationsTest' => 'a'],
246 246
             'services' => ['foo' => 'mock_storage_service'],
247 247
         ];
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
             'kernel.bundles' => [],
297 297
             'kernel.cache_dir' => sys_get_temp_dir(),
298 298
             'kernel.environment' => 'test',
299
-            'kernel.project_dir' => __DIR__ . '/../',
299
+            'kernel.project_dir' => __DIR__.'/../',
300 300
         ]));
301 301
     }
302 302
 }
Please login to merge, or discard this patch.