You are here

function composer_manager_sa_check in Composer Manager 7

Same name and namespace in other branches
  1. 7.2 composer_manager_sa/composer_manager_sa.module \composer_manager_sa_check()

Check for security advisories against Composer libraries.

Parameters

string $lock_file: The URI to the composer.lock file.

Return value

\Symfony\Component\Console\Output\BufferedOutput The security advisory report. This will also contain a result if no issues are found.

1 call to composer_manager_sa_check()
composer_manager_sa_print in composer_manager_sa/composer_manager_sa.drush.inc
Print security advisories with Drush.

File

composer_manager_sa/composer_manager_sa.module, line 38
Check for known security issues in Composer libraries.

Code

function composer_manager_sa_check($lock_file) {
  $vulnerabilities = composer_manager_sa_vulnerabilities($lock_file);
  return composer_manager_sa_plain_text($lock_file, $vulnerabilities);
}