From 74f68adeb1d6b7e3b402cb96350092ed3f66aa14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Mleczko?= Date: Wed, 27 Nov 2024 16:31:32 +0100 Subject: [PATCH] fix(docs): Audit command dependency from custom repositories (#12212) --- doc/03-cli.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/03-cli.md b/doc/03-cli.md index 7041617ad..cc193e162 100644 --- a/doc/03-cli.md +++ b/doc/03-cli.md @@ -1069,9 +1069,10 @@ php composer.phar archive vendor/package 2.0.21 --format=zip ## audit This command is used to audit the packages you have installed -for possible security issues. It checks for and -lists security vulnerability advisories according to the -[Packagist.org api](https://packagist.org/apidoc#list-security-advisories). +for potential security issues. It checks for and +lists security vulnerability advisories using the +[Packagist.org api](https://packagist.org/apidoc#list-security-advisories) +by default or other repositories if specified in the `repositories` section of `composer.json`. The audit command returns the amount of vulnerabilities found. `0` if successful, and up to `255` otherwise.