mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 06:14:23 +00:00
fix deprecations: no more need to define these services (that cause a deprecation...)
This commit is contained in:
parent
0a08c362bb
commit
ed526fa8ea
@ -30,8 +30,7 @@ class PostTextIntegerExtension extends PostTextExtension
|
|||||||
{
|
{
|
||||||
public function getExtendedType()
|
public function getExtendedType()
|
||||||
{
|
{
|
||||||
// return IntegerType::class; !! only for symfony 2.8
|
return IntegerType::class;
|
||||||
return 'integer';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -28,8 +28,7 @@ class PostTextNumberExtension extends PostTextExtension
|
|||||||
{
|
{
|
||||||
public function getExtendedType()
|
public function getExtendedType()
|
||||||
{
|
{
|
||||||
//return PostTextNumberExtension::class;
|
return PostTextNumberExtension::class;
|
||||||
return 'number';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -48,15 +48,16 @@ services:
|
|||||||
tags:
|
tags:
|
||||||
- { name: 'chill.custom_field', type: 'number' }
|
- { name: 'chill.custom_field', type: 'number' }
|
||||||
|
|
||||||
chill.form_extension.post_text_integer:
|
# no more used in symfony 3.x
|
||||||
class: Chill\CustomFieldsBundle\Form\Extension\PostTextIntegerExtension
|
# chill.form_extension.post_text_integer:
|
||||||
tags:
|
# class: Chill\CustomFieldsBundle\Form\Extension\PostTextIntegerExtension
|
||||||
- { name: form.type_extension, alias: 'integer' }
|
# tags:
|
||||||
|
# - { name: form.type_extension, alias: 'integer' }
|
||||||
|
|
||||||
chill.form_extension.post_text_number:
|
# chill.form_extension.post_text_number:
|
||||||
class: Chill\CustomFieldsBundle\Form\Extension\PostTextNumberExtension
|
# class: Chill\CustomFieldsBundle\Form\Extension\PostTextNumberExtension
|
||||||
tags:
|
# tags:
|
||||||
- { name: form.type_extension, alias: 'number' }
|
# - { name: form.type_extension, alias: 'number' }
|
||||||
|
|
||||||
chill.custom_field.choice:
|
chill.custom_field.choice:
|
||||||
class: Chill\CustomFieldsBundle\CustomFields\CustomFieldChoice
|
class: Chill\CustomFieldsBundle\CustomFields\CustomFieldChoice
|
||||||
@ -124,4 +125,3 @@ services:
|
|||||||
factory: ["@doctrine", getRepository]
|
factory: ["@doctrine", getRepository]
|
||||||
arguments:
|
arguments:
|
||||||
- "Chill\\CustomFieldsBundle\\Entity\\CustomFieldLongChoice\\Option"
|
- "Chill\\CustomFieldsBundle\\Entity\\CustomFieldLongChoice\\Option"
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user