Skip to content

Commit 7c05e47

Browse files
authored
[Bref] Add layer name (#83)
* [Bref] Add layer name * Add name to consoleApplicationRUnner * Use hyphens * cs
1 parent 74ca64d commit 7c05e47

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

psalm.baseline.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<files psalm-version="4.8.1@f73f2299dbc59a3e6c4d66cff4605176e728ee69">
33
<file src="src/bref/src/BrefRunner.php">
44
<InternalClass occurrences="1">
5-
<code>LambdaRuntime::fromEnvironmentVariable()</code>
5+
<code>LambdaRuntime::fromEnvironmentVariable('symfony-runtime')</code>
66
</InternalClass>
77
<InternalMethod occurrences="2">
8-
<code>LambdaRuntime::fromEnvironmentVariable()</code>
8+
<code>LambdaRuntime::fromEnvironmentVariable('symfony-runtime')</code>
99
<code>processNextEvent</code>
1010
</InternalMethod>
1111
<InvalidReturnType occurrences="1">
@@ -14,10 +14,10 @@
1414
</file>
1515
<file src="src/bref/src/ConsoleApplicationRunner.php">
1616
<InternalClass occurrences="1">
17-
<code>LambdaRuntime::fromEnvironmentVariable()</code>
17+
<code>LambdaRuntime::fromEnvironmentVariable('symfony-runtime-console')</code>
1818
</InternalClass>
1919
<InternalMethod occurrences="2">
20-
<code>LambdaRuntime::fromEnvironmentVariable()</code>
20+
<code>LambdaRuntime::fromEnvironmentVariable('symfony-runtime-console')</code>
2121
<code>processNextEvent</code>
2222
</InternalMethod>
2323
<InvalidReturnType occurrences="1">

src/bref/src/BrefRunner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(Handler $handler, int $loopMax)
2424

2525
public function run(): int
2626
{
27-
$lambda = LambdaRuntime::fromEnvironmentVariable();
27+
$lambda = LambdaRuntime::fromEnvironmentVariable('symfony-runtime');
2828

2929
$loops = 0;
3030
while (true) {

src/bref/src/ConsoleApplicationRunner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct(Application $application)
2626

2727
public function run(): int
2828
{
29-
$lambda = LambdaRuntime::fromEnvironmentVariable();
29+
$lambda = LambdaRuntime::fromEnvironmentVariable('symfony-runtime-console');
3030

3131
while (true) {
3232
$lambda->processNextEvent(function ($event, Context $context): array {

0 commit comments

Comments
 (0)