From 355f3ed80858c38ce8e9c19f63a33aa6d1594789 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 24 Mar 2025 14:53:43 +0100 Subject: [PATCH] Add warning for all antivirus/firewalls on windows regardless of software --- src/Composer/Console/Application.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Composer/Console/Application.php b/src/Composer/Console/Application.php index 78813d252..7fc75ff4c 100644 --- a/src/Composer/Console/Application.php +++ b/src/Composer/Console/Application.php @@ -502,6 +502,9 @@ class Application extends BaseApplication if (is_array($avastDetect) && count($avastDetect) !== 0) { $io->writeError('The following exception indicates a possible issue with the Avast Firewall', true, IOInterface::QUIET); $io->writeError('Check https://getcomposer.org/local-issuer for details', true, IOInterface::QUIET); + } else { + $io->writeError('The following exception indicates a possible issue with a Firewall/Antivirus', true, IOInterface::QUIET); + $io->writeError('Check https://getcomposer.org/local-issuer for details', true, IOInterface::QUIET); } }