Skip to content

Commit

Permalink
Merge pull request #44 from lvillanne/fix-42
Browse files Browse the repository at this point in the history
Fix 42
  • Loading branch information
boekkooi authored Oct 16, 2016
2 parents 7a54daf + d1b7262 commit 7ee1b98
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
14 changes: 7 additions & 7 deletions src/Resources/config/form_rule_additional_mappers.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
services:
boekkooi.jquery_validation.mapper.iban:
class: Boekkooi\Bundle\JqueryValidationBundle\Form\Rule\Mapping\IbanRule
arguments: [ %boekkooi.jquery_validation.additional.iban% ]
arguments: [ '%boekkooi.jquery_validation.additional.iban%' ]
public: false
tags:
- { name: form_rule_constraint_mapper }

boekkooi.jquery_validation.mapper.luhn:
class: Boekkooi\Bundle\JqueryValidationBundle\Form\Rule\Mapping\LuhnRule
arguments: [ %boekkooi.jquery_validation.additional.luhn% ]
arguments: [ '%boekkooi.jquery_validation.additional.luhn%' ]
public: false
tags:
- { name: form_rule_constraint_mapper }

boekkooi.jquery_validation.mapper.ip:
class: Boekkooi\Bundle\JqueryValidationBundle\Form\Rule\Mapping\IpRule
arguments:
- %boekkooi.jquery_validation.additional.ipv4%
- %boekkooi.jquery_validation.additional.ipv6%
- %boekkooi.jquery_validation.additional.one_or_other%
- '%boekkooi.jquery_validation.additional.ipv4%'
- '%boekkooi.jquery_validation.additional.ipv6%'
- '%boekkooi.jquery_validation.additional.one_or_other%'
public: false
tags:
- { name: form_rule_constraint_mapper }

boekkooi.jquery_validation.mapper.file:
class: Boekkooi\Bundle\JqueryValidationBundle\Form\Rule\Mapping\FileRule
arguments: [ %boekkooi.jquery_validation.additional.accept% ]
arguments: [ '%boekkooi.jquery_validation.additional.accept%' ]
public: false
tags:
- { name: form_rule_constraint_mapper }

boekkooi.jquery_validation.mapper.pattern:
class: Boekkooi\Bundle\JqueryValidationBundle\Form\Rule\Mapping\PatternRule
arguments: [ %boekkooi.jquery_validation.additional.pattern% ]
arguments: [ '%boekkooi.jquery_validation.additional.pattern%' ]
public: false
tags:
- { name: form_rule_constraint_mapper }
2 changes: 1 addition & 1 deletion src/Resources/config/form_rule_mappers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ services:

boekkooi.jquery_validation.mapper.is_boolean:
class: Boekkooi\Bundle\JqueryValidationBundle\Form\Rule\Mapping\IsBooleanRule
arguments: [ %boekkooi.jquery_validation.additional.is_boolean% ]
arguments: [ '%boekkooi.jquery_validation.additional.is_boolean%' ]
public: false
tags:
- { name: form_rule_constraint_mapper }
6 changes: 3 additions & 3 deletions src/Resources/config/form_rule_processors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:

boekkooi.jquery_validation.form.rule.processor.compound_copy_to_children:
class: Boekkooi\Bundle\JqueryValidationBundle\Form\Rule\Processor\CompoundCopyToChildPass
arguments: [ %boekkooi.jquery_validation.additional.required_group% ]
arguments: [ '%boekkooi.jquery_validation.additional.required_group%' ]
public: false
tags:
- { name: form_rule_processor, priority: 10 }
Expand All @@ -32,14 +32,14 @@ services:

boekkooi.jquery_validation.form.rule.processor.datetime_array_transformer:
class: Boekkooi\Bundle\JqueryValidationBundle\Form\Rule\Processor\DateTimeToArrayTransformerPass
arguments: [ %boekkooi.jquery_validation.additional.required_group% ]
arguments: [ '%boekkooi.jquery_validation.additional.required_group%' ]
public: false
tags:
- { name: form_rule_processor, priority: 50 }

boekkooi.jquery_validation.form.rule.processor.datetime_string_transformer:
class: Boekkooi\Bundle\JqueryValidationBundle\Form\Rule\Processor\DateTimeToStringTransformerPass
arguments: [ %boekkooi.jquery_validation.additional.time% ]
arguments: [ '%boekkooi.jquery_validation.additional.time%' ]
public: false
tags:
- { name: form_rule_processor, priority: 50 }
Expand Down
12 changes: 6 additions & 6 deletions src/Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,31 @@ parameters:

services:
boekkooi.jquery_validation.form.form_extension:
class: %boekkooi.jquery_validation.form.form_extension.class%
class: '%boekkooi.jquery_validation.form.form_extension.class%'
arguments:
- "@boekkooi.jquery_validation.rule_processor"
- "@boekkooi.jquery_validation.rule_compiler"
- "@boekkooi.jquery_validation.constraint_finder"
- %boekkooi.jquery_validation.enabled%
- '%boekkooi.jquery_validation.enabled%'
tags:
- { name: form.type_extension, alias: form, extended_type: Symfony\Component\Form\Extension\Core\Type\FormType }

boekkooi.jquery_validation.form.button_extension:
class: %boekkooi.jquery_validation.form.button_extension.class%
class: '%boekkooi.jquery_validation.form.button_extension.class%'
tags:
- { name: form.type_extension, alias: button, extended_type: Symfony\Component\Form\Extension\Core\Type\ButtonType }

boekkooi.jquery_validation.rule_processor:
class: %boekkooi.jquery_validation.rule_processor.class%
class: '%boekkooi.jquery_validation.rule_processor.class%'
arguments:
- []

boekkooi.jquery_validation.rule_compiler:
class: %boekkooi.jquery_validation.rule_compiler.class%
class: '%boekkooi.jquery_validation.rule_compiler.class%'
arguments:
- []

boekkooi.jquery_validation.constraint_finder:
class: %boekkooi.jquery_validation.constraint_finder.class%
class: '%boekkooi.jquery_validation.constraint_finder.class%'
arguments:
- "@validator.mapping.class_metadata_factory"
2 changes: 1 addition & 1 deletion src/Resources/config/twig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ parameters:

services:
boekkooi.jquery_validation.twig.jquery_validation:
class: %boekkooi.jquery_validation.twig.jquery_validation.class%
class: '%boekkooi.jquery_validation.twig.jquery_validation.class%'
tags:
- { name: twig.extension }

0 comments on commit 7ee1b98

Please sign in to comment.