-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Remove last legacy codes #23569
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
Remove last legacy codes #23569
Conversation
nicolas-grekas
commented
Jul 18, 2017
Q | A |
---|---|
Branch? | master |
Bug fix? | no |
New feature? | yes |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | - |
License | MIT |
Doc PR | - |
Needs #23570 before merge |
@@ -54,7 +54,6 @@ public function __construct(HttpKernelInterface $kernel, $cacheDir = null) | |||
protected function forward(Request $request, $raw = false, Response $entry = null) | |||
{ | |||
$this->getKernel()->boot(); | |||
$this->getKernel()->getContainer()->set('cache', $this); // to be removed in 4.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.
ping @ro0NL any comment here?
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.
perhaps move to a deprecated definition? it aliases @kernel basically. Otherwise keep it / uncomment :)
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.
let's keep it, it doesn't hurt
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.
comment removed in 0bd1f09
…viceSubscriberInterface (nicolas-grekas) This PR was merged into the 3.4 branch. Discussion ---------- [FrameworkBundle] Make RouterCacheWarmer implement ServiceSubscriberInterface | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | yes | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Blocks #23569 Commits ------- c0af003 [FrameworkBundle] Make RouterCacheWarmer implement ServiceSubscriberInterface
rebased and ready |
Thank you @nicolas-grekas. |
This PR was merged into the 4.0-dev branch. Discussion ---------- Remove last legacy codes | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 86ec5e1 Remove last legacy codes