| @@ -46,6 +46,6 @@ | ||
| 46 | 46 | */ | 
| 47 | 47 | public function registerContainerConfiguration(LoaderInterface $loader) | 
| 48 | 48 |      { | 
| 49 | - $loader->load(__DIR__ . '/config/config_' . $this->getEnvironment() . '.yml'); | |
| 49 | + $loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml'); | |
| 50 | 50 | } | 
| 51 | 51 | } | 
| @@ -35,7 +35,7 @@ | ||
| 35 | 35 |          $container->setParameter('ongr_settings.repo', $config['repo']); | 
| 36 | 36 | |
| 37 | 37 | // Set profiles. | 
| 38 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); | |
| 38 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); | |
| 39 | 39 |          $loader->load('services.yml'); | 
| 40 | 40 |          $loader->load('filter_manager.yml'); | 
| 41 | 41 | } | 
| @@ -130,7 +130,7 @@ discard block | ||
| 130 | 130 | 'value' => 'foo', | 
| 131 | 131 | ]; | 
| 132 | 132 | |
| 133 | -        $this->manager->expects($this->once())->method('persist')->with($this->callback(function ($obj) { | |
| 133 | +        $this->manager->expects($this->once())->method('persist')->with($this->callback(function($obj) { | |
| 134 | 134 | return $obj instanceof Setting; | 
| 135 | 135 | }))->willReturn(null); | 
| 136 | 136 |          $this->manager->expects($this->once())->method('persist')->willReturn(null); | 
| @@ -142,7 +142,7 @@ discard block | ||
| 142 | 142 | $document = $manager->create($data); | 
| 143 | 143 | |
| 144 | 144 |          foreach ($data as $key => $value) { | 
| 145 | -            $this->assertEquals($value, $document->{'get' . ucfirst($key)}()); | |
| 145 | +            $this->assertEquals($value, $document->{'get'.ucfirst($key)}()); | |
| 146 | 146 | } | 
| 147 | 147 | } | 
| 148 | 148 | |
| @@ -445,7 +445,7 @@ discard block | ||
| 445 | 445 | $activeProfilesSetting = 'active_profiles'; | 
| 446 | 446 | |
| 447 | 447 |          $this->repository->expects($this->any())->method('findOneBy')->willReturnCallback( | 
| 448 | -            function ($arg) use ($activeProfilesSetting) { | |
| 448 | +            function($arg) use ($activeProfilesSetting) { | |
| 449 | 449 | $settingName = $arg['name.name']; | 
| 450 | 450 | $setting = new Setting(); | 
| 451 | 451 |                  switch ($settingName) { | 
| @@ -492,7 +492,7 @@ discard block | ||
| 492 | 492 |          $this->cookie->expects($this->any())->method('getValue')->willReturn(['foo']); | 
| 493 | 493 |          $this->cache->expects($this->any())->method('contains')->willReturn(true); | 
| 494 | 494 |          $this->cache->expects($this->any())->method('fetch')->willReturnCallback( | 
| 495 | -            function ($arg) use ($activeProfilesSetting) { | |
| 495 | +            function($arg) use ($activeProfilesSetting) { | |
| 496 | 496 |                  if ($arg == $activeProfilesSetting) { | 
| 497 | 497 | return ['foo']; | 
| 498 | 498 | } |