Please sign in to comment.
bug #27458 [WebProfilerBundle] fixed getSession when no session has b…
…een set deprecation warnings (GregOriol) This PR was submitted for the master branch but it was squashed and merged into the 4.1 branch instead (closes #27458). Discussion ---------- [WebProfilerBundle] fixed getSession when no session has been set deprecation warnings | Q | A | ------------- | --- | Branch? | 4.1 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | none but see comment | License | MIT Symfony 4.1 adds deprecation warnings when getSession is called and a session has not been set. Some code in the WebProfiler was not up-to-date to use hasSession before. (this actually caused [Silex-WebProfiler](https://github.com/silexphp/Silex-WebProfiler)'s tests to fail) Commits ------- 0f3ba5a [WebProfilerBundle] fixed getSession when no session has been set deprecation warnings
- Loading branch information...
Showing with 7 additions and 3 deletions.