Skip to content

Commit

Permalink
update tests, add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean O'Brien committed Aug 23, 2024
1 parent 309dbbb commit be49edb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .changes/nextrelease/update-error-level.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"type": "enhancement",
"category": "",
"description": "Updates PHP runtime deprecation notice to `E_USER_DEPRECATION`"
}
]
4 changes: 2 additions & 2 deletions tests/ClientResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1685,8 +1685,8 @@ public function testEmitsDeprecationWarning()
}

putenv('AWS_SUPPRESS_PHP_DEPRECATION_WARNING=false');
$this->expectWarning();
$this->expectWarningMessage('This installation of the SDK is using PHP version');
$this->expectDeprecation();
$this->expectDeprecationMessage('This installation of the SDK is using PHP version');

$r = new ClientResolver(ClientResolver::getDefaultArguments());

Expand Down

0 comments on commit be49edb

Please sign in to comment.