@@ -17,6 +17,6 @@ |
||
| 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 | } |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | $container->registerExtension(new DoctrineMigrationsExtension()); |
| 41 | 41 | $container->setAlias('doctrine.migrations.configuration.test', new Alias('doctrine.migrations.configuration', true)); |
| 42 | 42 | |
| 43 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Fixtures')); |
|
| 43 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Fixtures')); |
|
| 44 | 44 | $loader->load('conf.xml'); |
| 45 | 45 | |
| 46 | 46 | $container->compile(); |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | |
| 130 | 130 | public function testCustomSorter() : void |
| 131 | 131 | { |
| 132 | - $config = [ |
|
| 132 | + $config = [ |
|
| 133 | 133 | 'migrations_paths' => ['DoctrineMigrationsTest' => 'a'], |
| 134 | 134 | 'services' => [Comparator::class => 'my_sorter'], |
| 135 | 135 | ]; |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | $conn = $this->createMock(Connection::class); |
| 139 | 139 | $container->set('doctrine.dbal.default_connection', $conn); |
| 140 | 140 | |
| 141 | - $sorter = new class() implements Comparator{ |
|
| 141 | + $sorter = new class() implements Comparator { |
|
| 142 | 142 | public function compare(Version $a, Version $b) : int |
| 143 | 143 | { |
| 144 | 144 | } |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | |
| 155 | 155 | public function testCustomConnection() : void |
| 156 | 156 | { |
| 157 | - $config = [ |
|
| 157 | + $config = [ |
|
| 158 | 158 | 'migrations_paths' => ['DoctrineMigrationsTest' => 'a'], |
| 159 | 159 | 'connection' => 'custom', |
| 160 | 160 | ]; |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | |
| 192 | 192 | public function testCustomEntityManager() : void |
| 193 | 193 | { |
| 194 | - $config = [ |
|
| 194 | + $config = [ |
|
| 195 | 195 | 'em' => 'custom', |
| 196 | 196 | 'migrations_paths' => ['DoctrineMigrationsTest' => 'a'], |
| 197 | 197 | ]; |
@@ -240,7 +240,7 @@ discard block |
||
| 240 | 240 | $this->expectException(InvalidConfigurationException::class); |
| 241 | 241 | $this->expectExceptionMessage('Invalid configuration for path "doctrine_migrations.services": Valid services for the DoctrineMigrationsBundle must be in the "Doctrine\Migrations" namespace.'); |
| 242 | 242 | |
| 243 | - $config = [ |
|
| 243 | + $config = [ |
|
| 244 | 244 | 'migrations_paths' => ['DoctrineMigrationsTest' => 'a'], |
| 245 | 245 | 'services' => ['foo' => 'mock_storage_service'], |
| 246 | 246 | ]; |
@@ -293,7 +293,7 @@ discard block |
||
| 293 | 293 | 'kernel.bundles' => [], |
| 294 | 294 | 'kernel.cache_dir' => sys_get_temp_dir(), |
| 295 | 295 | 'kernel.environment' => 'test', |
| 296 | - 'kernel.project_dir' => __DIR__ . '/../', |
|
| 296 | + 'kernel.project_dir' => __DIR__.'/../', |
|
| 297 | 297 | ])); |
| 298 | 298 | } |
| 299 | 299 | } |