@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | private function addDriversSection(ArrayNodeDefinition $node) |
| 40 | 40 | { |
| 41 | 41 | // determine which drivers are distributed with this bundle |
| 42 | - $driverDir = __DIR__ . '/../Resources/config/driver'; |
|
| 42 | + $driverDir = __DIR__.'/../Resources/config/driver'; |
|
| 43 | 43 | $iterator = new \RecursiveDirectoryIterator($driverDir); |
| 44 | 44 | foreach (new \RecursiveIteratorIterator($iterator) as $file) { |
| 45 | 45 | if ($file->getExtension() !== 'xml') { |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | ->arrayNode('drivers') |
| 57 | 57 | ->info('Enable drivers which are distributed with this bundle') |
| 58 | 58 | ->validate() |
| 59 | - ->ifTrue(function ($value) use ($validDrivers) { |
|
| 59 | + ->ifTrue(function($value) use ($validDrivers) { |
|
| 60 | 60 | return 0 !== count(array_diff($value, $validDrivers)); |
| 61 | 61 | }) |
| 62 | 62 | ->thenInvalid(sprintf('Invalid driver specified in %%s, valid drivers: ["%s"]', implode('", "', $validDrivers))) |