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

Astrunner: inject EventDispatcher via c'tor #154

Merged
merged 1 commit into from
Apr 20, 2018

Conversation

smoench
Copy link
Contributor

@smoench smoench commented Apr 12, 2018

depends on qossmic/astrunner#7

@@ -81,7 +81,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
new ConsoleFormatter($this->dispatcher, $output);

$parser = new NikicPhpParser();
$astMap = $this->astRunner->createAstMapByFiles($parser, $this->dispatcher, $this->collectFiles($configuration));
$astMap = $this->astRunner->createAstMapByFiles($parser, $this->collectFiles($configuration));
Copy link
Member

Choose a reason for hiding this comment

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

this seems to break the createAstMapByFiles() method's interface: https://github.com/sensiolabs-de/astrunner/blob/master/src/AstRunner.php#L21-L25

@timglabisch
Copy link
Collaborator

👍

@smoench smoench force-pushed the astrunner-inject-event-dispatcher branch from a7d2ff5 to e2817c3 Compare April 20, 2018 07:20
@smoench
Copy link
Contributor Author

smoench commented Apr 20, 2018

@xabbuh tests are passing 🎉

@smoench smoench merged commit 2579eab into master Apr 20, 2018
@smoench smoench deleted the astrunner-inject-event-dispatcher branch April 20, 2018 08:18
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.

None yet

3 participants