Closed SamMousa closed 3 years ago
Hej @SamMousa,
shouldn't we check, whether Composer::RUNTIME_API_VERSION
is at least 2.0.0
and therefor use
version_compare(Composer::RUNTIME_API_VERSION, '2.0.0', '>=')
Or is there a reason to explicitly check for 2.0.0
and 2.1.0
?
@SamMousa It is preferable to use version_compare
function.
I used strict comparison because that's what was done in original code. I'm fine updating it to use version compare
Yes, please, you might as well improve the code immediately :-)
@francoispluchino, the PR is done but CI is broken.
Bump
Thank you!
Fixes #37