Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[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

Merged
merged 2 commits into from
Sep 9, 2015

Conversation

fabpot
Copy link
Member

@fabpot 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

@Tobion
Copy link
Contributor

Tobion commented Sep 7, 2015

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

@Tobion
Copy link
Contributor

Tobion commented Sep 7, 2015

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.

@fabpot
Copy link
Member Author

fabpot commented Sep 7, 2015

We agreed on deprecated the commands, not the methods, but I think it makes sense. I will do that now.

@fabpot
Copy link
Member Author

fabpot commented Sep 7, 2015

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.
Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@fabpot fabpot force-pushed the profiler-import-export-deprecation branch from b3f3bf9 to 5772c15 Compare September 7, 2015 15:57
@Tobion
Copy link
Contributor

Tobion commented Sep 7, 2015

Tests are failing.

@sstok
Copy link
Contributor

sstok commented Sep 8, 2015

👍 for deprecating/removing this.

@fabpot fabpot force-pushed the profiler-import-export-deprecation branch from 5772c15 to 943fec9 Compare September 9, 2015 20:55
@fabpot
Copy link
Member Author

fabpot commented Sep 9, 2015

tests fixed now

@fabpot fabpot merged commit 943fec9 into symfony:2.8 Sep 9, 2015
fabpot added a commit that referenced this pull request Sep 9, 2015
…(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
fabpot added a commit that referenced this pull request Sep 15, 2015
…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
@fabpot fabpot mentioned this pull request Nov 16, 2015
ostrolucky pushed a commit to ostrolucky/symfony that referenced this pull request Mar 25, 2018
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants