@@ -43,7 +43,7 @@ |
||
| 43 | 43 | 'excluded_fields' => [], |
| 44 | 44 | ]); |
| 45 | 45 | |
| 46 | - $resolver->setNormalizer('data_class', function (Options $options, $value) { |
|
| 46 | + $resolver->setNormalizer('data_class', function(Options $options, $value) { |
|
| 47 | 47 | if (empty($value)) { |
| 48 | 48 | throw new \RuntimeException(sprintf('Missing "data_class" option of "AutoFormType".')); |
| 49 | 49 | } |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | return $this->defaultFormManipulator; |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | - $config = Setup::createAnnotationMetadataConfiguration([__DIR__ . '/../Fixtures/Entity'], true, null, null, false); |
|
| 50 | + $config = Setup::createAnnotationMetadataConfiguration([__DIR__.'/../Fixtures/Entity'], true, null, null, false); |
|
| 51 | 51 | $entityManager = EntityManager::create(['driver' => 'pdo_sqlite'], $config); |
| 52 | 52 | $doctrineInfo = new \A2lix\AutoFormBundle\ObjectInfo\DoctrineInfo($entityManager->getMetadataFactory()); |
| 53 | 53 | |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | $processor = new Processor(); |
| 23 | 23 | $config = $processor->processConfiguration(new Configuration(), $configs); |
| 24 | 24 | |
| 25 | - $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 25 | + $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 26 | 26 | $loader->load('a2lix_form.xml'); |
| 27 | 27 | $loader->load('object_info.xml'); |
| 28 | 28 | |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | ->defaultValue(['id', 'locale', 'translatable']) |
| 31 | 31 | ->beforeNormalization() |
| 32 | 32 | ->ifString() |
| 33 | - ->then(function ($v) { |
|
| 33 | + ->then(function($v) { |
|
| 34 | 34 | return preg_split('/\s*,\s*/', $v); |
| 35 | 35 | }) |
| 36 | 36 | ->end() |