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

Fix part of #5 - Finder parameter must be an array #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vukanac
Copy link

@vukanac vukanac commented May 17, 2017

With old composer.json latest phpmetrics was installed and it has the constructor with different parameters. We have to convert accepting argument and options in CLI command from string to array.

  1. I have upgraded libs to the latest
  2. converted CLI params to be array instead of string
  • Hal/Component/Finder has changed constructor and now accepts array - require options for include and exclude to be arrays
  • Finder has removed method and introduced instead - required CLI argument for the path to be changed in the array.

Small note:

  • This part is solved, but due to removed Tokenizer from phpmetrics a new bug show up.
    I hope that that new bug is not a constraint for this pull request.

vukanac added 3 commits May 17, 2017 22:47
…array

* Hal/Component/Finder has changed constructor and now accepts array
* Finder has removed  method and  introduced instead - required CLI argument for path to be changed in array
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