Skip to content

Comments

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

Open
vukanac wants to merge 3 commits intoHalleck45:masterfrom
vukanac:master
Open

Fix part of #5 - Finder parameter must be an array#6
vukanac wants to merge 3 commits intoHalleck45:masterfrom
vukanac:master

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