Skip to content
Snippets Groups Projects

Issue #3344127: Composer validate all fixture manipulation changes

Merged Issue #3344127: Composer validate all fixture manipulation changes
8 unresolved threads
8 unresolved threads
1 file
+ 5
4
Compare changes
  • Side-by-side
  • Inline
@@ -45,8 +45,9 @@ class FixtureManipulator {
* Validate the fixtures still passes `composer validate`.
*/
private function validateComposer(): void {
$process = new Process([
'composer',
/** @var \PhpTuf\ComposerStager\Domain\Service\ProcessRunner\ComposerRunnerInterface $runner */
$runner = \Drupal::service('PhpTuf\ComposerStager\Domain\Service\ProcessRunner\ComposerRunnerInterface');
$runner->run([
'validate',
// @todo Check the lock file in https://drupal.org/i/3343827.
'--no-check-lock',
@@ -55,8 +56,8 @@ class FixtureManipulator {
'--no-interaction',
'--ansi',
'--no-cache',
], $this->dir);
$process->mustRun();
'--working-dir=' . $this->dir,
]);
}
/**
Loading