minor #21314 Fix upgrade guide (Jean85)

This PR was merged into the 2.7 branch.

Discussion
----------

Fix upgrade guide

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

This merges back the `UPGRADE-3.0.md` guide from master back up to 2.7. There were a lot of missing parts and a few duplications. I fear that also the other guides have the same issues.

Commits
-------

bd0c206a32 Add missing pieces in the upgrade guide to 3.0
This commit is contained in:
Fabien Potencier 2017-01-28 08:19:52 -08:00
commit b2b48b1573
1 changed files with 36 additions and 0 deletions

View File

@ -1,6 +1,35 @@
UPGRADE FROM 2.x to 3.0
=======================
# Table of Contents
- [ClassLoader](#classloader)
- [Config](#config)
- [Console](#console)
- [DependencyInjection](#dependencyinjection)
- [DoctrineBridge](#doctrinebridge)
- [DomCrawler](#domcrawler)
- [EventDispatcher](#eventdispatcher)
- [Form](#form)
- [FrameworkBundle](#frameworkbundle)
- [HttpFoundation](#httpfoundation)
- [HttpKernel](#httpkernel)
- [Locale](#locale)
- [Monolog Bridge](#monolog-bridge)
- [Process](#process)
- [PropertyAccess](#propertyaccess)
- [Routing](#routing)
- [Security](#security)
- [SecurityBundle](#securitybundle)
- [Serializer](#serializer)
- [Swiftmailer Bridge](#swiftmailer-bridge)
- [Translator](#translator)
- [Twig Bridge](#twig-bridge)
- [TwigBundle](#twigbundle)
- [Validator](#validator)
- [WebProfiler](#webprofiler)
- [Yaml](#yaml)
### ClassLoader
* The `UniversalClassLoader` class has been removed in favor of
@ -1131,3 +1160,10 @@ UPGRADE FROM 2.x to 3.0
* `Process::setStdin()` and `Process::getStdin()` have been removed. Use
`Process::setInput()` and `Process::getInput()` that works the same way.
* `Process::setInput()` and `ProcessBuilder::setInput()` do not accept non-scalar types.
### Monolog Bridge
* `Symfony\Bridge\Monolog\Logger::emerg()` was removed. Use `emergency()` which is PSR-3 compatible.
* `Symfony\Bridge\Monolog\Logger::crit()` was removed. Use `critical()` which is PSR-3 compatible.
* `Symfony\Bridge\Monolog\Logger::err()` was removed. Use `error()` which is PSR-3 compatible.
* `Symfony\Bridge\Monolog\Logger::warn()` was removed. Use `warning()` which is PSR-3 compatible.