8000 Adding notes about deprecated warnings in 2.7 by weaverryan · Pull Request #14776 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Adding notes about deprecated warnings in 2.7 #14776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions UPGRADE-2.7.md
Original file line number Diff line number Diff line change
@@ -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
------

Expand Down
0