deprecation-detector
deprecation-detector copied to clipboard
Default ruleset path
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.
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