Skip to content

Conversation

@xabbuh
Copy link
Member

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

$bundle = $this
->getMockBuilder('Symfony\Component\HttpKernel\Bundle\BundleInterface')
->setMethods(['getPath', 'getPublicDir', 'getParent', 'getName'])
->setMethods(['getPath', 'getParent', 'getName'])
Copy link
Member

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 ?

Copy link
Member Author

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?

Copy link
Member Author

Choose a reason for hiding this comment

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

getPublicDir() was planned to be introduced with #31975 in 4.4 and was removed again in #32845

Copy link
Member

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

@yceruto
Copy link
Member

yceruto commented Aug 26, 2019

Thank you @xabbuh.

yceruto added a commit that referenced this pull request Aug 26, 2019
…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
@yceruto yceruto merged commit 54cb471 into symfony:4.4 Aug 26, 2019
@xabbuh xabbuh deleted the pr-32845 branch August 26, 2019 14:12
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.4 Oct 27, 2019
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