From 958ef0f4108adf366d965ba9ff1ced4228d78678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Sun, 22 Oct 2023 14:09:26 +0200 Subject: [PATCH] test: Fix signing algorithm comparison 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.',