Skip to content

[DIC] Add a require env var processor #30897

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
Apr 7, 2019

Conversation

mpdude
Copy link
Contributor

@mpdude mpdude commented Apr 6, 2019

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR symfony/symfony-docs#11313

This adds a new require processor that will require() the PHP file given as input value and return the value returned from that file. Leverages opcaching (yay!).

#EUFOSSA

@mpdude
Copy link
Contributor Author

mpdude commented Apr 6, 2019

Before I forget: Can I (or who can) add the FOSSHackathon label?

@mpdude
Copy link
Contributor Author

mpdude commented Apr 6, 2019

I guess tests are failing due to some other issue...?

@stof
Copy link
Member

stof commented Apr 6, 2019

@mpdude you should add the hashtags in the PR description (allowing to find all these issues and PR through the github search, even on multiple repos)

@stof
Copy link
Member

stof commented Apr 6, 2019

this requires either a doc PR or at least a doc issue.

@mpdude
Copy link
Contributor Author

mpdude commented Apr 6, 2019

Doc PR added.

@mpdude
Copy link
Contributor Author

mpdude commented Apr 6, 2019

you should add the hashtags in the PR description (allowing to find all these issues and PR through the github search, even on multiple repos)

@stof Not sure I understand how to do this

@xabbuh xabbuh added this to the next milestone Apr 6, 2019
@mpdude
Copy link
Contributor Author

mpdude commented Apr 6, 2019

Regarding the failed tests, every test run fails due to different reasons. In all cases, I don't see how that would be related to this PR.

This allows to process .php files, returning the value returned
from that file. Leverages the opcache.
@mpdude mpdude force-pushed the require_env_processor branch from 60ad78a to 03da3a2 Compare April 7, 2019 08:30
@mpdude
Copy link
Contributor Author

mpdude commented Apr 7, 2019

Rebased on master to give Travis/CI tests another try.

@nicolas-grekas
Copy link
Member

Thank you @mpdude.

@nicolas-grekas nicolas-grekas merged commit 03da3a2 into symfony:master Apr 7, 2019
nicolas-grekas added a commit that referenced this pull request Apr 7, 2019
This PR was merged into the 4.3-dev branch.

Discussion
----------

[DIC] Add a `require` env var processor

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        | symfony/symfony-docs#11313

This adds a new `require` processor that will `require()` the PHP file given as input value and return the value `return`ed from that file. Leverages opcaching (yay!).

#EUFOSSA

Commits
-------

03da3a2 Add a `require` env var processor
@mpdude mpdude deleted the require_env_processor branch April 7, 2019 12:26
wouterj added a commit to symfony/symfony-docs that referenced this pull request Apr 7, 2019
…ude)

This PR was squashed before being merged into the master branch (closes #11313).

Discussion
----------

Add documentation for the `require` env processor

Documentation for symfony/symfony#30897, discussed on the FOSSHackathon.

Commits
-------

1011b42 Add documentation for the `require` env processor
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.3 Apr 30, 2019
@fabpot fabpot mentioned this pull request May 9, 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.

7 participants