-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added an article to explain how to upgrade third-party bundles to Sym…
…fony 3
- Loading branch information
1 parent
ea2503c
commit 4e93eb5
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
.. index:: | ||
single: Upgrading; Bundle; Major Version | ||
|
||
Upgrading a Third-Party Bundle for a Major Symfony Version | ||
========================================================== | ||
|
||
Symfony 3 was released on November 2015. Although this version doesn't contain | ||
any new feature, it removes all the backwards compatibility layers included in | ||
the previous 2.8 version. If your bundle uses any deprecated feature and it's | ||
published as a third-party bundle, applications upgrading to Symfony 3 will no | ||
longer be able to use it. | ||
|
||
Allow to Install Symfony 3 Components | ||
------------------------------------- | ||
|
||
.. TODO | ||
* Change symfony/... ~2.N by ~2.N|~3.M | ||
|
||
Look for Deprecations and Fix Them | ||
---------------------------------- | ||
|
||
.. TODO | ||
* Install: composer require --dev "symfony/phpunit-bridge" and run your test suite | ||
* Use for basic fixes: https://github.com/umpirsky/Symfony-Upgrade-Fixer | ||
* Read the "UPGRADE from 2.x to Sf3" guide (https://github.com/symfony/symfony/blob/2.8/UPGRADE-3.0.md) | ||
|
||
Test your Bundle in Symfony 3 | ||
----------------------------- | ||
|
||
.. TODO | ||
* Upgrade a test app to Sf3 or create an empty app (symfony new my_app 3.0) | ||
* Use the "ln -s my_bundle vendor/.../my_bundle" trick to use the new code in the 3.0 app | ||
* Configure Travis CI to test your bundle in both 2 and 3 versions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters