8000 [FrameworkBundle] Deprecated form types as services · symfony/symfony@7989b03 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7989b03

Browse files
committed
[FrameworkBundle] Deprecated form types as services
1 parent 2946932 commit 7989b03

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ CHANGELOG
66

77
* Added `Controller::json` to simplify creating JSON responses when using the Serializer component
88
* Deprecated absolute template paths support in the template name parser
9+
* Deprecated services for core form types and core form type extensions without dependencies
910

1011
3.0.0
1112
-----

src/Symfony/Bundle/FrameworkBundle/Resources/config/form.xml

Lines changed: 31 additions & 0 deletions
F438
Original file line numberDiff line numberDiff line change
@@ -67,94 +67,123 @@
6767
</service>
6868
<service id="form.type.birthday" class="Symfony\Component\Form\Extension\Core\Type\BirthdayType">
6969
<tag name="form.type" />
70+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
7071
</service>
7172
<service id="form.type.checkbox" class="Symfony\Component\Form\Extension\Core\Type\CheckboxType">
7273
<tag name="form.type" />
74+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
7375
</service>
7476
<service id="form.type.choice" class="Symfony\Component\Form\Extension\Core\Type\ChoiceType">
7577
<tag name="form.type" />
7678
<argument type="service" id="form.choice_list_factory"/>
7779
</service>
7880
<service id="form.type.collection" class="Symfony\Component\Form\Extension\Core\Type\CollectionType">
7981
<tag name="form.type" />
82+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
8083
</service>
8184
<service id="form.type.country" class="Symfony\Component\Form\Extension\Core\Type\CountryType">
8285
<tag name="form.type" />
86+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
8387
</service>
8488
<service id="form.type.date" class="Symfony\Component\Form\Extension\Core\Type\DateType">
8589
<tag name="form.type" />
90+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
8691
</service>
8792
<service id="form.type.datetime" class="Symfony\Component\Form\Extension\Core\Type\DateTimeType">
8893
<tag name="form.type" />
94+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
8995
</service>
9096
<service id="form.type.email" class="Symfony\Component\Form\Extension\Core\Type\EmailType">
9197
<tag name="form.type" />
98+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
9299
</service>
93100
<service id="form.type.file" class="Symfony\Component\Form\Extension\Core\Type\FileType">
94101
<tag name="form.type" />
102+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
95103
</service>
96104
<service id="form.type.hidden" class="Symfony\Component\Form\Extension\Core\Type\HiddenType">
97105
<tag name="form.type" />
106+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
98107
</service>
99108
<service id="form.type.integer" class="Symfony\Component\Form\Extension\Core\Type\IntegerType">
100109
<tag name="form.type" />
110+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
101111
</service>
102112
<service id="form.type.language" class="Symfony\Component\Form\Extension\Core\Type\LanguageType">
103113
<tag name="form.type" />
114+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
104115
</service>
105116
<service id="form.type.locale" class="Symfony\Component\Form\Extension\Core\Type\LocaleType">
106117
<tag name="form.type" />
118+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
107119
</service>
108120
<service id="form.type.money" class="Symfony\Component\Form\Extension\Core\Type\MoneyType">
109121
628C <tag name="form.type" />
122+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
110123
</service>
111124
<service id="form.type.number" class="Symfony\Component\Form\Extension\Core\Type\NumberType">
112125
<tag name="form.type" />
126+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
113127
</service>
114128
<service id="form.type.password" class="Symfony\Component\Form\Extension\Core\Type\PasswordType">
115129
<tag name="form.type" />
130+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
116131
</service>
117132
<service id="form.type.percent" class="Symfony\Component\Form\Extension\Core\Type\PercentType">
118133
<tag name="form.type" />
134+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
119135
</service>
120136
<service id="form.type.radio" class="Symfony\Component\Form\Extension\Core\Type\RadioType">
121137
<tag name="form.type" />
138+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
122139
</service>
123140
<service id="form.type.range" class="Symfony\Component\Form\Extension\Core\Type\RangeType">
124141
<tag name="form.type" />
142+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
125143
</service>
126144
<service id="form.type.repeated" class="Symfony\Component\Form\Extension\Core\Type\RepeatedType">
127145
<tag name="form.type" />
146+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
128147
</service>
129148
<service id="form.type.search" class="Symfony\Component\Form\Extension\Core\Type\SearchType">
130149
<tag name="form.type" />
150+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
131151
</service>
132152
<service id="form.type.textarea" class="Symfony\Component\Form\Extension\Core\Type\TextareaType">
133153
<tag name="form.type" />
154+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
134155
</service>
135156
<service id="form.type.text" class="Symfony\Component\Form\Extension\Core\Type\TextType">
136157
<tag name="form.type" />
158+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
137159
</service>
138160
<service id="form.type.time" class="Symfony\Component\Form\Extension\Core\Type\TimeType">
139161
<tag name="form.type" />
162+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
140163
</service>
141164
<service id="form.type.timezone" class="Symfony\Component\Form\Extension\Core\Type\TimezoneType">
142165
<tag name="form.type" />
166+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
143167
</service>
144168
<service id="form.type.url" class="Symfony\Component\Form\Extension\Core\Type\UrlType">
145169
<tag name="form.type" />
170+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
146171
</service>
147172
<service id="form.type.button" class="Symfony\Component\Form\Extension\Core\Type\ButtonType">
148173
<tag name="form.type" />
174+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
149175
</service>
150176
<service id="form.type.submit" class="Symfony\Component\Form\Extension\Core\Type\SubmitType">
151177
<tag name="form.type" />
178+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
152179
</service>
153180
<service id="form.type.reset" class="Symfony\Component\Form\Extension\Core\Type\ResetType">
154181
<tag name="form.type" />
182+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
155183
</service>
156184
<service id="form.type.currency" class="Symfony\Component\Form\Extension\Core\Type\CurrencyType">
157185
<tag name="form.type" />
186+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
158187
</service>
159188

160189
<!-- FormTypeHttpFoundationExtension -->
@@ -179,9 +208,11 @@
179208
</service>
180209
<service id="form.type_extension.repeated.validator" class="Symfony\Component\Form\Extension\Validator\Type\RepeatedTypeValidatorExtension">
181210
<tag name="form.type_extension" extended-type="Symfony\Component\Form\Extension\Core\Type\RepeatedType" />
211+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
182212
</service>
183213
<service id="form.type_extension.submit.validator" class="Symfony\Component\Form\Extension\Validator\Type\SubmitTypeValidatorExtension">
184214
<tag name="form.type_extension" extended-type="Symfony\Component\Form\Extension\Core\Type\SubmitType" />
215+
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
185216
</service>
186217
</services>
187218
</container>

0 commit comments

Comments
 (0)
0