1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Add audit command to check for security issues (#10798)

Closes #10329
This commit is contained in:
Guy Sartorelli 2022-06-22 15:14:00 +02:00 committed by Jordi Boggiano
parent d17c724f23
commit d93239ddd9
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
15 changed files with 873 additions and 5 deletions

View file

@ -26,7 +26,7 @@ class UpdateCommandTest extends TestCase
$this->initTempComposer($composerJson);
$appTester = $this->getApplicationTester();
$appTester->run(array_merge(['command' => 'update', '--dry-run' => true], $command));
$appTester->run(array_merge(['command' => 'update', '--dry-run' => true, '--no-audit' => true], $command));
$this->assertSame(trim($expected), trim($appTester->getDisplay(true)));
}