Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7f41677

Browse filesBrowse files
committed
[#5894] Minor tweaks and removing the todo sections for now
1 parent 6196952 commit 7f41677
Copy full SHA for 7f41677

File tree

Expand file treeCollapse file tree

1 file changed

+2
-28
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-28
lines changed

‎cookbook/upgrade/bundles.rst

Copy file name to clipboardExpand all lines: cookbook/upgrade/bundles.rst
+2-28Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ The above example can be updated to work with Symfony 3 as follows:
5353
Looking for Deprecations and Fix Them
5454
-------------------------------------
5555

56-
Besides allowing to install Symfony 3 packages, your bundle must stop using
57-
any feature deprecated in 2.8 version, because they are removed (and you'll get
56+
Besides allowing users to use your bundle with Symfony 3, your bundle must stop using
57+
any feature deprecated by the 2.8 version because they are removed in 3.0 (you'll get
5858
exceptions or PHP errors). The easiest way to detect deprecations is to install
5959
the `symfony/phpunit-bridge package`_ and then run the test suite.
6060

@@ -185,32 +185,6 @@ adding a ``setDefined()`` method. The recommended check in this case would be::
185185
// code for the new OptionsResolver API
186186
}
187187

188-
Form Name Refactoring
189-
~~~~~~~~~~~~~~~~~~~~~
190-
191-
.. TODO
192-
193-
- how to check which version to use
194-
- how to update FormType classes
195-
- how to update type service definitions
196-
- how to update FormTypeExtension classes & service definition
197-
198-
OptionsResolver API Refactoring
199-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200-
201-
.. TODO
202-
203-
- how to check which version to use
204-
- how to both APIs
205-
206-
Service Factory Refactoring
207-
~~~~~~~~~~~~~~~~~~~~~~~~~~~
208-
209-
.. TODO
210-
211-
- how to support both APIs ==> Is there a nice way except from (a) doing
212-
it in the DI extension or (b) creating 2 service definition files?
213-
214188
.. _`symfony/phpunit-bridge package`: https://github.com/symfony/phpunit-bridge
215189
.. _`Official Symfony Guide to Upgrade from 2.x to 3.0`: https://github.com/symfony/symfony/blob/2.8/UPGRADE-3.0.md
216190
.. _`SensioLabs DeprecationDetector`: https://github.com/sensiolabs-de/deprecation-detector

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.