-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[HttpKernel] do not mock removed getPublicDir() method #33336
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
xabbuh
commented
Aug 26, 2019
Q | A |
---|---|
Branch? | 4.4 |
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | |
License | MIT |
Doc PR |
@@ -626,7 +626,7 @@ protected function getBundle($dir = null, $parent = null, $className = null, $bu | ||
{ | ||
$bundle = $this | ||
->getMockBuilder('Symfony\Component\HttpKernel\Bundle\BundleInterface') | ||
->setMethods(['getPath', 'getPublicDir', 'getParent', 'getName']) | ||
->setMethods(['getPath', 'getParent', 'getName']) |
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.
isn't getParent
removed as well ?
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.
It's only deprecated and will be removed in 5.0, right?
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.
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.
deprecated in 3.4 and removed in 4.0
Thank you @xabbuh. |
…xabbuh) This PR was merged into the 4.4 branch. Discussion ---------- [HttpKernel] do not mock removed getPublicDir() method | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- 54cb471 do not mock removed getPublicDir() method