Add missing pieces in the upgrade guide to 3.0

This commit is contained in:
Alessandro Lai 2017-01-27 15:42:16 +01:00
parent f1f5bff78f
commit bd0c206a32
No known key found for this signature in database
GPG Key ID: 5D9C513BE4F5798D
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.