aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-10 03:03:34 +0900
committernsfisis <nsfisis@gmail.com>2026-05-10 03:03:34 +0900
commit212506c364b2342dd9e5fa789e8cff38835dfe52 (patch)
treedd3aab6a7b953d287d9dccbb9d73b92d9cb2ddaa /crates/mozart/src/commands
parent4caf72463de598ea9b6454f3b7b7332dd0071318 (diff)
downloadphp-mozart-212506c364b2342dd9e5fa789e8cff38835dfe52.tar.gz
php-mozart-212506c364b2342dd9e5fa789e8cff38835dfe52.tar.zst
php-mozart-212506c364b2342dd9e5fa789e8cff38835dfe52.zip
refactor(advisory): split advisory.rs into focused submodules
Move AuditConfig, AuditFormat/AbandonedHandling enums, and stub types (SecurityAdvisory, PartialSecurityAdvisory, IgnoredSecurityAdvisory) into their own files under advisory/. Public API is preserved via wildcard re-exports. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart/src/commands')
-rw-r--r--crates/mozart/src/commands/audit.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/mozart/src/commands/audit.rs b/crates/mozart/src/commands/audit.rs
index 72d4408..eafcba4 100644
--- a/crates/mozart/src/commands/audit.rs
+++ b/crates/mozart/src/commands/audit.rs
@@ -46,7 +46,7 @@ pub async fn execute(
let composer = Composer::require(&working_dir)?;
// Parse audit config from composer.json's config.audit section
- let audit_config = AuditConfig::from_config(composer.config(), true, AuditFormat::Table);
+ let audit_config = AuditConfig::from_config(composer.config(), true, AuditFormat::Table)?;
// Resolve format: CLI arg > config default (table)
let format = match args.format.as_deref() {