DesignPatternDetector icon indicating copy to clipboard operation
DesignPatternDetector copied to clipboard

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

Open vukanac opened this issue 8 years ago • 0 comments

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 avatar May 17 '17 21:05 vukanac