Skip to content

add missing XML and PHP code examples #9871

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
Jun 7, 2018
Merged

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Jun 2, 2018

fixes #9831

@xabbuh xabbuh added this to the 3.4 milestone Jun 2, 2018
@xabbuh
Copy link
Member Author

xabbuh commented Jun 2, 2018

best reviewed with whitespaces ignored

<parameter key="env(AUTH_FILE)">../config/auth.json</parameter>
</parameters>

<google auth="%env(file:AUTH_FILE)%" />
Copy link
Member Author

Choose a reason for hiding this comment

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

I don't know which bundle this example was based on. Should we find a "better" example?

Copy link
Member

Choose a reason for hiding this comment

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

I don't know which example was based on ... but Composer optionally defines an auth.json file: https://getcomposer.org/doc/articles/http-basic-authentication.md

Copy link
Member Author

Choose a reason for hiding this comment

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

I think @mcfedr who created the initial examples should be able to help us here. :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Its not a from a specific bundle, I couldn't find any obvious examples where it was useful to inject a file, this is from one of my projects where I inject a google apis private key.

@javiereguiluz
Copy link
Member

Thank you Christian.

@javiereguiluz javiereguiluz merged commit 7079078 into symfony:3.4 Jun 7, 2018
javiereguiluz added a commit that referenced this pull request Jun 7, 2018
This PR was merged into the 3.4 branch.

Discussion
----------

add missing XML and PHP code examples

fixes #9831

Commits
-------

7079078 add missing XML and PHP code examples
@xabbuh xabbuh deleted the issue-9831 branch June 7, 2018 07:44
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.

4 participants