Skip to content

Commit

Permalink
[#5894] Minor tweaks and removing the todo sections for now
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Mar 6, 2016
1 parent 6196952 commit 7f41677
Showing 1 changed file with 2 additions and 28 deletions.
30 changes: 2 additions & 28 deletions cookbook/upgrade/bundles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ The above example can be updated to work with Symfony 3 as follows:
Looking for Deprecations and Fix Them
-------------------------------------

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

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

Form Name Refactoring
~~~~~~~~~~~~~~~~~~~~~

.. TODO
- how to check which version to use
- how to update FormType classes
- how to update type service definitions
- how to update FormTypeExtension classes & service definition
OptionsResolver API Refactoring
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. TODO
- how to check which version to use
- how to both APIs
Service Factory Refactoring
~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. TODO
- how to support both APIs ==> Is there a nice way except from (a) doing
it in the DI extension or (b) creating 2 service definition files?
.. _`symfony/phpunit-bridge package`: https://github.com/symfony/phpunit-bridge
.. _`Official Symfony Guide to Upgrade from 2.x to 3.0`: https://github.com/symfony/symfony/blob/2.8/UPGRADE-3.0.md
.. _`SensioLabs DeprecationDetector`: https://github.com/sensiolabs-de/deprecation-detector
Expand Down

0 comments on commit 7f41677

Please sign in to comment.