diff --git a/UPGRADE-2.7.md b/UPGRADE-2.7.md index 3a9884d97d..519332155c 100644 --- a/UPGRADE-2.7.md +++ b/UPGRADE-2.7.md @@ -1,6 +1,30 @@ UPGRADE FROM 2.6 to 2.7 ======================= +Global +------ + + * `E_USER_DEPRECATED` warnings - + `trigger_error('... is deprecated ...', E_USER_DEPRECATED)` - + are now triggered when using all deprecated functionality. + To avoid filling up error logs, you may need to add + `~E_USER_DEPRECATED` to your `error_reporting` setting in + `php.ini` to *not* add these errors to your log. + + In the Symfony Framework, `~E_USER_DEPRECATED` is added to + `bootstrap.php.cache` automatically, but you need at least + version `2.3.14` or `3.0.21` of the + [SensioDistributionBundle](https://github.com/sensiolabs/SensioDistributionBundle). + So, you may need to upgrade: + + ```bash + composer update sensio/distribution-bundle + ``` + + The [phpunit-bridge](https://github.com/symfony/phpunit-bridge) + was introduced to silence deprecation warnings while running your + tests and give you a report of deprecated function calls. + Router ------