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

[EasyCodingStandard] make path configurable via --config #192

Closed
TomasVotruba opened this Issue Jun 24, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@TomasVotruba
Copy link
Member

TomasVotruba commented Jun 24, 2017

To be able to use various config without dependency on specific location.

// 1. build DI container

$input = new ArgvInput;
$configFile = $input->getOption('configuration') ?? null;
$container = (new ContainerFactory)->create($configFile);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment