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** | [`infection/infection`](https://packagist.org/packages/infection/infection) | | **Description** | Mutation testing framework. | | **Value/justification** | High. This helps find gaps and inadequacies...
Begin by familiarizing yourself with https://github.com/php-tuf/composer-stager/wiki. Further details TBD.
Consider whether Infrastructure\Service\Translation\Translator should add quotes around placeholders
Consider the following code: ``` $this->t( 'The source and destination files cannot be the same at %path', $this->p(['%path' => '/some/path']), ) ``` When Drupal's translator is used, then when this...
figure out here https://www.drupal.org/project/automatic_updates/issues/3363937 What our case was 1. we staged an operation 2. We put a file in the active directory 3. we called commit() with an excluded absolute...
- Part of https://github.com/php-tuf/composer-stager/issues/78. | | | |---|---| | **Dependency** | [`symfony/config`](https://packagist.org/packages/symfony/config) | | **Description** | Helps you find, load, combine, autofill and validate configuration values of any kind. |...
@tedbow our `ActiveDirIsWritable` and `StagingDirIsWritable` preconditions currently only test that the top level directories themselves are writable. Non-writable children and descendants therefore would not be caught until they actually cause...
The two known offenders at the time of this writing are these: * `Infrastructure\Service\Filesystem\Filesystem::remove()` * `Infrastructure\Service\FileSyncer\PhpFileSyncer::sync()`
Exceptions don't currently follow any particular rule for their exception codes. The default values are used for new exceptions, and wrapping exceptions just use the code of the exception they...
It is currently possible to change preconditions at design time, but it requires overriding service definitions, which is neither obvious nor easy. Find a better way. One idea would be...
- Part of https://github.com/php-tuf/composer-stager/issues/78. | | | |---|---| | **Dependency** | [`phpstan/phpstan-strict-rules`](https://packagist.org/packages/phpstan/phpstan-strict-rules) | | **Description** | Extra strict and opinionated rules for PHPStan. | | **Value/justification** | Very high. While...