Add support shipmonk/composer-dependency-analyser#358
Conversation
Signed-off-by: sasezaki <sasezaki@gmail.com>
9bd168f to
c024651
Compare
There was a problem hiding this comment.
As a maintainer of maglnet/composer-require-checker, I'm vary of this.
The reason is that I know that the shipmonk dependency cuts corners aggressively there, skipping the AST world, and diving directly into the "let's parse code with regexes". EDIT: historic reference
I'd rather see improvements in tooling that does things formally, than introducing this specific tool 🤔
EDIT: I stand corrected - it uses reflection. I'm not 100% sure about this then, will need to check again.
|
Hi @Ocramius I believe your concern is whether we should adopt this as the de facto standard for composer dependency checking in the Laminas project. I don't intend this PR to replace composer-require-checker. |
Description
I propose to add `shipmonk/composer-dependency-analyser
https://github.com/shipmonk-rnd/composer-dependency-analyser
It has already been added to CI in the v5 branch of laminas-hydrator
composer-dependency-analyser --disable-ext-analysis, so the configuration file needs to be modified to $config->disableExtensionsAnalysis()I'm also using it personally (in work projects), and I think it's functioning excellently