Navigation Menu

Skip to content
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

[VarDumper] play nice with open_basedir when looking for composer.json #23878

Merged
merged 1 commit into from Aug 16, 2017

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 3.3
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #23661
License MIT
Doc PR -

ping @pounard, can you please confirm this fixes the issue you reported?

@nicolas-grekas nicolas-grekas changed the title [VarDumper] play nice with open_basedir with looking for composer.json [VarDumper] play nice with open_basedir when looking for composer.json Aug 13, 2017
@pounard
Copy link
Contributor

pounard commented Aug 15, 2017

From what I see, it should work, I need to test it in the original context I got the error, I can only do that at work so I'll give you a straight answer within the next week.

As a side note I'm afraid this will truncate reported file names, am I wrong ? Isn't there a more straight method to determine the project root ? Something from configuration or a constant or anything else would be great actually.

@nicolas-grekas
Copy link
Member Author

This is pure visual truncation so we don't really care if it's not perfect.

@pounard
Copy link
Contributor

pounard commented Aug 15, 2017

Seems legit, I will test it as soon as I can, thanks for patching so fast.

@nicolas-grekas nicolas-grekas merged commit 1bea774 into symfony:3.3 Aug 16, 2017
nicolas-grekas added a commit that referenced this pull request Aug 16, 2017
…omposer.json (nicolas-grekas)

This PR was merged into the 3.3 branch.

Discussion
----------

[VarDumper] play nice with open_basedir when looking for composer.json

| Q             | A
| ------------- | ---
| Branch?       | 3.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #23661
| License       | MIT
| Doc PR        | -

ping @pounard, can you please confirm this fixes the issue you reported?

Commits
-------

1bea774 [VarDumper] play nice with open_basedir when looking for composer.json
@nicolas-grekas nicolas-grekas deleted the linkstub-open_basedir branch August 16, 2017 16:04
@fabpot fabpot mentioned this pull request Aug 28, 2017
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.

None yet

3 participants