Skip to content

Commit

Permalink
fix: environment variable usage of `AWS_SUPPRESS_PHP_DEPRECATION_WARN…
Browse files Browse the repository at this point in the history
…ING` (#2988)
  • Loading branch information
danielmalmeida authored Aug 21, 2024
1 parent e6af3e7 commit 7ded3ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClientResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ public static function _apply_suppress_php_deprecation_warning($value, &$args)
\Aws\boolean_value($_SERVER["AWS_SUPPRESS_PHP_DEPRECATION_WARNING"]);
} elseif (!empty($_ENV["AWS_SUPPRESS_PHP_DEPRECATION_WARNING"])) {
$args['suppress_php_deprecation_warning'] =
\Aws\boolean_value($_SERVER["AWS_SUPPRESS_PHP_DEPRECATION_WARNING"]);
\Aws\boolean_value($_ENV["AWS_SUPPRESS_PHP_DEPRECATION_WARNING"]);
}

if ($args['suppress_php_deprecation_warning'] === false
Expand Down

0 comments on commit 7ded3ea

Please sign in to comment.