We're migrating towards running tests with "composer test". This requires that phpunit/lint/phpcs are specified as dev dependencies in composer.json. Some of our repos have their dependencies checked in for deployment purposes:
To run tests for those repos, we'd have to do something like composer update --dev, composer test, and then composer update --no-dev to get rid of the dev dependencies when committing. That sucks. Is there a better way to do this?