composer-stager
composer-stager copied to clipboard
Stages Composer commands so they can be safely run on a codebase in production.
- Part of https://github.com/php-tuf/composer-stager/issues/78. | | | |---|---| | **Dependency** | [`thecodingmachine/phpstan-strict-rules`](https://packagist.org/packages/thecodingmachine/phpstan-strict-rules) | | **Description** | A set of additional rules for PHPStan based on best practices followed at TheCodingMachine...
Some preconditions are more fundamental or less expensive than others, making it desirable to evaluate them first. Add a system of weighting to control the order they get evaluated in.
#413 surfaced the fact that it's not safe to accept non-negative `$timeout` parameter values and updated docblocks accordingly. Let's actually enforce the constraint and add test coverage.
Right now it is not possible to execute the `begin` staging using an existing staging directory. But using `rsync` it would be totally possible to update an existing staging directory...
It may be desirable in certain cases to disable an arbitrary precondition. Symfony's Service Container (and surely others) provides the ability to do this by [replacing or decorating services](https://symfony.com/doc/current/service_container/service_decoration.html). Provide...