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

Skip to content

Fix the example about overriding the getProjectDir method #11232

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 1 commit into from
Mar 27, 2019

Conversation

stof
Copy link
Member

@stof stof commented Mar 27, 2019

This method must return the canonical path for things to work fine everywhere.

This method must return the canonical path for things to work fine everywhere.
@stof
Copy link
Member Author

stof commented Mar 27, 2019

Note that most places will work fine with a non canonical path. But we have a few places which use the root dir to strip it from paths stored in the cache (to make the cache independent from the location of the project at the time it was generated) and these may not always canonicalize the root dir themselves.

@javiereguiluz
Copy link
Member

Thanks Christophe.

@javiereguiluz javiereguiluz merged commit d2e3e6b into symfony:3.4 Mar 27, 2019
javiereguiluz added a commit that referenced this pull request Mar 27, 2019
…d (stof)

This PR was merged into the 3.4 branch.

Discussion
----------

Fix the example about overriding the getProjectDir method

This method must return the canonical path for things to work fine everywhere.

Commits
-------

d2e3e6b Fix the example about overriding the getProjectDir method
@stof stof deleted the patch-4 branch March 27, 2019 16:22
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.

3 participants