Skip to content

Commit

Permalink
php 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbolino committed Dec 11, 2022
1 parent fb04bac commit a8d11d1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
cache: 'npm'
- uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
coverage: xdebug
extensions: ast
- name: Copy .env
Expand Down
2 changes: 1 addition & 1 deletion .phan/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
// Note that the **only** effect of choosing `'5.6'` is to infer that functions removed in php 7.0 exist.
// (See `backward_compatibility_checks` for additional options)
// Automatically inferred from composer.json requirement for "php" of "^7.4|^8.0"
'target_php_version' => '8.0',
'target_php_version' => '8.2',

// If enabled, missing properties will be created when
// they are first seen. If false, we'll report an
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"keywords": ["framework", "laravel"],
"license": "proprietary",
"require": {
"php": "^8.1",
"php": "^8.2",
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
Expand Down
4 changes: 2 additions & 2 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ functions:
handler: public/index.php
timeout: 28 # in seconds (API Gateway has a timeout of 29 seconds)
layers:
- ${bref:layer.php-81-fpm}
- ${bref:layer.php-82-fpm}
events:
- httpApi: '*'
# This function lets us run artisan commands in Lambda
artisan:
handler: artisan
timeout: 120 # in seconds
layers:
- ${bref:layer.php-81} # PHP
- ${bref:layer.php-82} # PHP
- ${bref:layer.console} # The "console" layer

plugins:
Expand Down

0 comments on commit a8d11d1

Please sign in to comment.