Skip to content

Commit 200930e

Browse files
committed
Extract AWS core library
1 parent 8b8b092 commit 200930e

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public class com.amazon.aws.lambda.Environment {
216216
public function path(string $path): io.Path
217217
public function tempDir(): io.Path
218218
public function variable(string $name): ?string
219-
public function credentials(): com.amazon.aws.lambda.Credentials
219+
public function credentials(): com.amazon.aws.Credentials
220220
public function trace(var... $args): void
221221
public function properties(string $name): util.PropertyAccess
222222
}

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"xp-framework/core": "^11.0 | ^10.14",
1010
"xp-framework/http": "^10.0 | ^9.0",
1111
"xp-framework/zip": "^10.0 | ^9.0",
12+
"xp-forge/asw": "dev-main as 1.0.0",
1213
"xp-forge/json": "^5.0 | ^4.0",
1314
"php": ">=7.0.0"
1415
},

src/main/php/com/amazon/aws/lambda/Environment.class.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?php namespace com\amazon\aws\lambda;
22

3+
use com\amazon\aws\Credentials;
34
use io\Path;
45
use io\streams\StringWriter;
56
use lang\{ElementNotFoundException, Environment as System};
@@ -50,7 +51,7 @@ public function variable($name) {
5051
/**
5152
* Returns credentials from this environment
5253
*
53-
* @return com.amazon.aws.lambda.Credentials
54+
* @return com.amazon.aws.Credentials
5455
*/
5556
public function credentials() {
5657
return new Credentials(

src/test/php/com/amazon/aws/lambda/unittest/EnvironmentTest.class.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php namespace com\amazon\aws\lambda\unittest;
22

3-
use com\amazon\aws\lambda\{Environment, Credentials};
3+
use com\amazon\aws\Credentials;
4+
use com\amazon\aws\lambda\Environment;
45
use io\streams\{MemoryOutputStream, StringWriter};
56
use io\{File, Files, Path};
67
use lang\ElementNotFoundException;

0 commit comments

Comments
 (0)