Skip to content

Fix variables leaking from config file scope breaking codegen #15

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 3 commits into from
Dec 1, 2017

Conversation

Firehed
Copy link
Owner

@Firehed Firehed commented Dec 1, 2017

If the configured container file had a variable named $config, it would overwrite the value in bin/load_config.php, replacing what is returned by the file. This was an oversight during development since testing was performed by pointing to a file returning an anonymous class, rather than something that better resembles a common config file.

@Firehed Firehed merged commit 9e05030 into master Dec 1, 2017
@Firehed Firehed deleted the configleak branch December 1, 2017 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant