From e2c4a83e0ebe00f413c7c83d588766bcaf6e42bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= <5175937+theofidry@users.noreply.github.com> Date: Sun, 22 Oct 2023 14:10:24 +0200 Subject: [PATCH] test: Fix signing algorithm comparison (#1109) Fix bad merge of #1100 which should have been adapted after #1106. --- src/Configuration/Configuration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Configuration/Configuration.php b/src/Configuration/Configuration.php index 53d387761..49ac3c140 100644 --- a/src/Configuration/Configuration.php +++ b/src/Configuration/Configuration.php @@ -2280,7 +2280,7 @@ private static function retrieveSigningAlgorithm(stdClass $raw, ConfigurationLog self::addRecommendationForDefaultValue($logger, self::ALGORITHM_KEY); } - if (Phar::OPENSSL === $algorithm) { + if (SigningAlgorithm::OPENSSL === $algorithm) { $logger->addWarning( 'Using an OpenSSL signature is deprecated and will be removed in 5.0.0. Please check ' .'https://github.com/box-project/box/blob/main/doc/phar-signing.md for alternatives.',