Skip to content

Commit bb0b245

Browse files
authored
Merge pull request #173 from hschimpf/feature/laravel-new
Use PHP v8.2 as default
2 parents b2b4c24 + d0ab5fc commit bb0b245

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

examples/getting-started/serverless.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ functions:
6060
BREF_LOOP_MAX: 250
6161
BREF_BINARY_RESPONSES: 1
6262
layers:
63-
- ${bref:layer.php-81}
63+
- ${bref:layer.php-82}
6464
events:
6565
- httpApi: '*'
6666

6767
cli:
6868
handler: artisan
6969
timeout: 720
7070
layers:
71-
- ${bref:layer.php-81}
71+
- ${bref:layer.php-82}
7272
- ${bref:layer.console}
7373
events:
7474
- schedule:
@@ -79,7 +79,7 @@ functions:
7979
handler: Bref\LaravelBridge\Queue\QueueHandler
8080
timeout: 59
8181
layers:
82-
- ${bref:layer.php-81}
82+
- ${bref:layer.php-82}
8383
events:
8484
- sqs:
8585
arn: !GetAtt Queue.Arn

stubs/serverless.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ functions:
2727
# This function runs the Laravel website/API
2828
web:
2929
handler: public/index.php
30-
runtime: php-81-fpm
30+
runtime: php-82-fpm
3131
timeout: 28 # in seconds (API Gateway has a timeout of 29 seconds)
3232
events:
3333
- httpApi: '*'
3434

3535
# This function lets us run artisan commands in Lambda
3636
artisan:
3737
handler: artisan
38-
runtime: php-81-console
38+
runtime: php-82-console
3939
timeout: 720 # in seconds
4040
# Uncomment to also run the scheduler every minute
4141
#events:

0 commit comments

Comments
 (0)