@@ -26,7 +26,7 @@ |
||
| 26 | 26 | |
| 27 | 27 | $container->setParameter('dynamic_form.configuration', $config); |
| 28 | 28 | |
| 29 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 29 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 30 | 30 | $loader->load('services.yml'); |
| 31 | 31 | } |
| 32 | 32 | } |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | if (isset($constraint['maxMessage'])) { |
| 41 | - $this->formlyFieldConfiguration['validation']['messages']['max'] = $constraint['maxMessage']; |
|
| 41 | + $this->formlyFieldConfiguration['validation']['messages']['max'] = $constraint['maxMessage']; |
|
| 42 | 42 | } |
| 43 | 43 | } |
| 44 | 44 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | |
| 25 | 25 | if (isset($validation['Symfony\Component\Validator\Constraints\Url'])) { |
| 26 | 26 | $constraint = $validation['Symfony\Component\Validator\Constraints\Url']; |
| 27 | - $this->formlyFieldConfiguration['validation']['messages']['url'] = isset($constraint['message']) ? $constraint['message'] : ''; |
|
| 27 | + $this->formlyFieldConfiguration['validation']['messages']['url'] = isset($constraint['message']) ? $constraint['message'] : ''; |
|
| 28 | 28 | } |
| 29 | 29 | } |
| 30 | 30 | } |
@@ -94,5 +94,5 @@ |
||
| 94 | 94 | /** |
| 95 | 95 | * @return void |
| 96 | 96 | */ |
| 97 | - protected function buildFieldTypeConfiguration(){} |
|
| 97 | + protected function buildFieldTypeConfiguration() {} |
|
| 98 | 98 | } |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | |
| 62 | 62 | try { |
| 63 | 63 | $configuration = (array) $this->formFactory->getConfiguration($formName); |
| 64 | - } catch(NonExistentFormException $e) { |
|
| 64 | + } catch (NonExistentFormException $e) { |
|
| 65 | 65 | throw new FormlyMapperException($e->getMessage()); |
| 66 | 66 | } |
| 67 | 67 | |