-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[WebProfilerBundle] deprecated import/export commands #15709
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
Conversation
fabpot
commented
Sep 7, 2015
Q | A |
---|---|
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | yes |
Tests pass? | yes |
Fixed tickets | part of #11742 |
License | MIT |
Doc PR | n/a |
Shouldn't the import() and export() methods of the profiler be deprecated as well? https://github.com/symfony/symfony/blob/2.8/src/Symfony/Component/HttpKernel/Profiler/Profiler.php#L141 |
I agree the import/export can be removed. I never used it myself. And if somebody needs similar functionality, he can implement it himself easily as he has access to all methods needed. |
We agreed on deprecated the commands, not the methods, but I think it makes sense. I will do that now. |
done |
@@ -149,6 +151,8 @@ public function export(Profile $profile) | |||
* @param string $data A data string as exported by the export() method | |||
* | |||
* @return Profile A Profile instance | |||
* | |||
* @deprecated since Symfony 2.8, to be removed in 3.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deprecation warnings should be triggered
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
b3f3bf9
to
5772c15
Compare
Tests are failing. |
👍 for deprecating/removing this. |
5772c15
to
943fec9
Compare
tests fixed now |
…(fabpot) This PR was merged into the 2.8 branch. Discussion ---------- [WebProfilerBundle] deprecated import/export commands | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | yes | Tests pass? | yes | Fixed tickets | part of #11742 | License | MIT | Doc PR | n/a Commits ------- 943fec9 [HtppKernel] deprecated Profiler::import/export 17e00b9 [WebProfilerBundle] deprecated import/export commands
…commands (jakzal) This PR was merged into the 3.0-dev branch. Discussion ---------- [WebProfilerBundle][HttpKernel] removed import/export commands | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | part of #11742 | License | MIT | Doc PR | n/a Follow up for #15709. Commits ------- c1d028e [HttpKernel] removed Profiler::import/export 1672a83 [WebProfilerBundle] removed import/export commands
…mmands (fabpot) This PR was merged into the 2.8 branch. Discussion ---------- [WebProfilerBundle] deprecated import/export commands | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | yes | Tests pass? | yes | Fixed tickets | part of symfony#11742 | License | MIT | Doc PR | n/a Commits ------- 943fec9 [HtppKernel] deprecated Profiler::import/export 17e00b9 [WebProfilerBundle] deprecated import/export commands