Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Drop deprecated code from Bundles & Bridges #14127

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

Closed
wants to merge 1 commit into from

Conversation

stloyd
Copy link
Contributor

@stloyd stloyd commented Mar 31, 2015

Q A
Bug fix? no
New feature? no
BC breaks? yes
Deprecations? no
Tests pass? yes
License MIT

@@ -16,6 +16,9 @@

class ContainerAwareEventManagerTest extends \PHPUnit_Framework_TestCase
{
protected $container;
protected $evm;
Copy link
Member

Choose a reason for hiding this comment

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

use private vibility please (and this should be submitted separately as a bugfix as it should not go only in master)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was already done #14128.

Copy link
Member

Choose a reason for hiding this comment

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

then it should not appear in this diff

@stloyd stloyd force-pushed the feature/drop_depr branch 5 times, most recently from e17700b to a0e3da6 Compare March 31, 2015 13:24

private function getRequest()
{
if ($this->requestStack && $currentRequest = $this->requestStack->getCurrentRequest()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

The requestStack property can't be null so no need to check if it's set.

Same goes for SessionHelper

@stof
Copy link
Member

stof commented Apr 1, 2015

@fabpot @nicolas-grekas how are we dealing with these removal PRs which are starting to come ? Are we letting @stloyd make a bug PR here, or are we dealing with many smaller PRs ?

@stloyd stloyd force-pushed the feature/drop_depr branch from 67903e7 to f99d0f6 Compare April 2, 2015 07:30
@stloyd stloyd changed the title [WIP] Drop deprecated code from Bundles & Bridges Drop deprecated code from Bundles & Bridges Apr 2, 2015
@fabpot
Copy link
Member

fabpot commented Apr 3, 2015

Less PRs about this topic, the better. If we can centralize everything in one PR, that would be even better.

@nicolas-grekas
Copy link
Member

The hardest part will be keeping tests green on both 3.0 and 2.7 by not forgetting to update composer dependencies. See an example of this in #14216

@dosten
Copy link
Contributor

dosten commented May 17, 2015

Can you rebase?

@@ -72,26 +61,20 @@ public function hasFlash($name)
return $this->getSession()->getFlashBag()->has($name);
Copy link
Contributor

Choose a reason for hiding this comment

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

Request::getSession says @return SessionInterface|null so this is not save to be called.

@fabpot
Copy link
Member

fabpot commented Aug 1, 2015

Closing this old PR which is now obsolete and does too many things.

@fabpot fabpot closed this Aug 1, 2015
@dosten
Copy link
Contributor

dosten commented Aug 1, 2015

@fabpot What is the way to go with the removal of deprecated features? Small PRs for each bundle/component/bridge? I'm asking because this is the oposite of what did you say in a previous comment

@fabpot
Copy link
Member

fabpot commented Aug 1, 2015

@dosten One PR would have been great but it must be ready to be merged. As this one is quite old and because we merged so many removal since then, it would make rebasing this PR difficult. The best now is indeed to do small PRs for one component or one bundle.

@stloyd stloyd deleted the feature/drop_depr branch August 2, 2015 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.