deprecation-detector icon indicating copy to clipboard operation
deprecation-detector copied to clipboard

Default ruleset path

Open umulmrum opened this issue 9 years ago • 1 comments

When omitting the ruleset path, the detector uses "composer.lock" in the current directory. When a source path is given, this might be unexpected (in my case I executed the detector from the detector directory, passing the source path of the project to check. Then the composer.lock of the detector project was used).

I'm unsure what the desired behaviour is. Perhaps it is enough to echo the final absolute paths for source and ruleset.

umulmrum avatar Oct 17 '15 10:10 umulmrum

Actually the same problem occurred at the hackday, if the second argument is omitted we should use the vendor/, composer.lock or ruleset relative to the src/ directory argument

MarvinKlemp avatar Oct 17 '15 19:10 MarvinKlemp