Add composer security check for prefixed dependencies

[MAILPOET-2002]
This commit is contained in:
Rostislav Wolny
2019-04-24 09:55:13 +02:00
committed by Jan Jakeš
parent 8cd1472af1
commit 59f2b438ac

View File

@@ -237,7 +237,10 @@ class RoboFile extends \Robo\Tasks {
}
function securityComposer() {
return $this->_exec('vendor/bin/security-checker security:check --format=simple');
return $this->collectionBuilder()
->taskExec('vendor/bin/security-checker security:check --format=simple')
->taskExec('vendor/bin/security-checker security:check --format=simple prefixer/composer.lock')
->run();
}
function testDebugUnit($opts=['file' => null, 'xml' => false, 'debug' => true]) {