@@ -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 |
@@ -94,5 +94,5 @@ |
||
94 | 94 | /** |
95 | 95 | * @return void |
96 | 96 | */ |
97 | - protected function buildFieldTypeConfiguration(){} |
|
97 | + protected function buildFieldTypeConfiguration() {} |
|
98 | 98 | } |
@@ -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 | } |
@@ -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 | } |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
6 | 6 | use Symfony\Component\Config\Definition\ConfigurationInterface; |
7 | -use Linio\DynamicFormBundle\DataProvider; |
|
8 | 7 | |
9 | 8 | /** |
10 | 9 | * This is the class that validates and merges configuration from your app/config files |