laminas-escaper icon indicating copy to clipboard operation
laminas-escaper copied to clipboard

remove maglnet/composer-require-checker as it is now in CI

Open internalsystemerror opened this issue 2 years ago • 6 comments

Q A
Documentation no
Bugfix no
BC Break no
New Feature no
RFC no
QA yes

Description

This PR:

  • Removes maglnet/composer-require-checker as a dependency as it is now run in laminas/laminas-ci-matrix-action (closes https://github.com/laminas/laminas-escaper/pull/33)
  • Updates phpunit/phpunit to the minimum installable version

internalsystemerror avatar Sep 11 '22 15:09 internalsystemerror

Is it planned to get composer-require-checker installed by default in the ci-action container?

gsteel avatar Sep 12 '22 13:09 gsteel

@gsteel Yeah I jumped the gun on this as I remember seeing that it creates the job in the CI matrix action, and assumed that the tooling was installed in there too. Then I looked at adding it and realised we're in the same position as using composer to check semver ranges, we need PHP in the node image.

This is ready to go once that is worked out however.

internalsystemerror avatar Sep 12 '22 13:09 internalsystemerror

That's great news - getting it installed on older PHP versions is a pain. So once implemented, it'll run require-checker on 8.0 as opposed to the matrix default stable?

gsteel avatar Sep 12 '22 13:09 gsteel

Ideally, I don't think it should matter as long as it can check the composer.json file, so always using the latest version sounds ideal to me. But that is something we would need to think about when it comes to adding it.

internalsystemerror avatar Sep 12 '22 13:09 internalsystemerror

Do we have a blocker PR that we can reference? I still see it running vendor/bin/composer-require-checker here

Ocramius avatar Sep 13 '22 07:09 Ocramius

No PR yet, I thought this work was already done after checking the matrix, I missed that it was calling it from vendor/..., so I've created an issue for it instead. https://github.com/laminas/laminas-ci-matrix-action/issues/131

internalsystemerror avatar Sep 13 '22 15:09 internalsystemerror