@@ -68,7 +68,7 @@ |
||
| 68 | 68 | $class->expects($this->any())->method('getAssociationNames')->will($this->returnValue(array())); |
| 69 | 69 | $class->expects($this->any())->method('isIdentifier')->will( |
| 70 | 70 | $this->returnCallback( |
| 71 | - function ($field) { |
|
| 71 | + function($field) { |
|
| 72 | 72 | return $field === 'a'; |
| 73 | 73 | } |
| 74 | 74 | ) |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace OnurbTest\Bundle\YumlBundle\Controller; |
| 4 | 4 | |
| 5 | 5 | use Onurb\Bundle\YumlBundle\Controller\YumlController; |
| 6 | - |
|
| 7 | 6 | use Symfony\Component\DependencyInjection\ContainerInterface; |
| 8 | 7 | use Symfony\Component\HttpFoundation\RedirectResponse; |
| 9 | 8 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | { |
| 10 | 10 | protected function loadConfiguration(ContainerBuilder $container, $resource) |
| 11 | 11 | { |
| 12 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/Fixtures/Xml/')); |
|
| 13 | - $loader->load($resource.'.xml'); |
|
| 12 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/Fixtures/Xml/')); |
|
| 13 | + $loader->load($resource . '.xml'); |
|
| 14 | 14 | } |
| 15 | 15 | } |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | |
| 11 | 11 | protected function loadConfiguration(ContainerBuilder $container, $resource) |
| 12 | 12 | { |
| 13 | - $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/Fixtures/Yaml/')); |
|
| 14 | - $loader->load($resource.'.yml'); |
|
| 13 | + $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/Fixtures/Yaml/')); |
|
| 14 | + $loader->load($resource . '.yml'); |
|
| 15 | 15 | } |
| 16 | 16 | } |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | $this->container->expects($this->any())->method('getParameter') |
| 59 | 59 | ->will( |
| 60 | 60 | $this->returnCallback( |
| 61 | - function ($arg) { |
|
| 61 | + function($arg) { |
|
| 62 | 62 | switch ($arg) { |
| 63 | 63 | case 'onurb_yuml.show_fields_description': |
| 64 | 64 | return false; |