From a8d11d108cca643e049314b7e75f54f587c1b052 Mon Sep 17 00:00:00 2001 From: jim Date: Sat, 10 Dec 2022 02:08:59 +0800 Subject: [PATCH] php 8.2 --- .github/workflows/cicd.yml | 2 +- .phan/config.php | 2 +- composer.json | 2 +- serverless.yml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index e0a258c..4e73692 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -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 diff --git a/.phan/config.php b/.phan/config.php index dba70ab..d0f9fc1 100644 --- a/.phan/config.php +++ b/.phan/config.php @@ -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 diff --git a/composer.json b/composer.json index 635ee62..502a45e 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "keywords": ["framework", "laravel"], "license": "proprietary", "require": { - "php": "^8.1", + "php": "^8.2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", diff --git a/serverless.yml b/serverless.yml index ab43410..39ec362 100644 --- a/serverless.yml +++ b/serverless.yml @@ -37,7 +37,7 @@ 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 @@ -45,7 +45,7 @@ functions: handler: artisan timeout: 120 # in seconds layers: - - ${bref:layer.php-81} # PHP + - ${bref:layer.php-82} # PHP - ${bref:layer.console} # The "console" layer plugins: