Skip to content

Commit 5fc1e8c

Browse files
committed
2.0.5 release
1 parent c529ee3 commit 5fc1e8c

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

AWS_SMPS.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use Aws\Ssm\SsmClient;
55

66
class AWS_SMPS {
7-
public const VERSION = '2.0.4';
7+
public const VERSION = '2.0.5';
88

99
public const STRING = 'String';
1010
public const STRING_LIST = 'StringList';

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# AWS Systems Manager Parameter Store _(AWS_SMPS)_ PHP class
22

3+
Optimized for use with [PHP 8.0](https://www.php.net/releases/8.0/en.php).
4+
- [Named argument](https://wiki.php.net/rfc/named_params)
5+
- [Type declaration for arguments, return values, class props](https://www.php.net/manual/en/language.types.declarations.php)
6+
- [Class prop and method visability](https://www.php.net/manual/en/language.oop5.visibility.php)
7+
38
See [example.php](https://github.com/nodesocket/aws_smps/blob/master/example.php) for a full example.
49

510
## API

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.4
1+
2.0.5

example.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
try {
55
$profile = getenv('AWS_PROFILE') ?: '';
66

7-
# Demo using PHP 8.0 named argument. Order does not matter
7+
# Demo using PHP 8.0 named arguments. Order does not matter
88
$smps = new AWS_SMPS(profile: $profile, region: 'us-east-2');
99

1010
$smps->put(AWS_SMPS::STRING, 'foo-string', 'bar', 'test string parameter');

0 commit comments

Comments
 (0)