Skip to content

Commit

Permalink
test: Fix signing algorithm comparison (#1109)
Browse files Browse the repository at this point in the history
Fix bad merge of #1100 which should have been adapted after #1106.
  • Loading branch information
theofidry authored Oct 22, 2023
1 parent a0f241f commit e2c4a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configuration/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down

0 comments on commit e2c4a83

Please sign in to comment.