composer-stager icon indicating copy to clipboard operation
composer-stager copied to clipboard

Stages Composer commands so they can be safely run on a codebase in production.

Results 35 composer-stager issues
Sort by recently updated
recently updated
newest added

- 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 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. |...

needs drupal release manager review

@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...

enhancement

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...

enhancement

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...

enhancement

- 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...