From a6bd6aa563680bdde0f7dff3b4ad9668e59c4d86 Mon Sep 17 00:00:00 2001 From: Joe Dixon Date: Fri, 16 Feb 2024 12:03:46 +0000 Subject: [PATCH] set php8.3 as default --- src/Commands/EnvCommand.php | 2 +- src/Commands/LocalCommand.php | 3 ++- src/Dockerfile.php | 2 +- src/Manifest.php | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Commands/EnvCommand.php b/src/Commands/EnvCommand.php index 9c325b64..08478dfe 100644 --- a/src/Commands/EnvCommand.php +++ b/src/Commands/EnvCommand.php @@ -50,7 +50,7 @@ public function handle() Manifest::addEnvironment($environment, [ 'memory' => 1024, 'cli-memory' => 512, - 'runtime' => $this->option('docker') ? 'docker' : 'php-8.2:al2', + 'runtime' => $this->option('docker') ? 'docker' : 'php-8.3:al2', 'build' => [ 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev', 'php artisan event:cache', diff --git a/src/Commands/LocalCommand.php b/src/Commands/LocalCommand.php index b8a0bac7..e0a4bea5 100644 --- a/src/Commands/LocalCommand.php +++ b/src/Commands/LocalCommand.php @@ -21,6 +21,7 @@ class LocalCommand extends Command '8.0' => 'laravelphp/vapor:php80', '8.1' => 'laravelphp/vapor:php81', '8.2' => 'laravelphp/vapor:php82', + '8.3' => 'laravelphp/vapor:php83', ]; /** @@ -129,7 +130,7 @@ protected function dockerConfiguration() ], ], 'app' => [ - 'image' => static::$images[$this->option('php') ? $this->option('php') : '8.2'], + 'image' => static::$images[$this->option('php') ? $this->option('php') : '8.3'], 'depends_on' => [ 0 => 'mysql', 1 => 'redis', diff --git a/src/Dockerfile.php b/src/Dockerfile.php index 0e725aee..e13a892c 100644 --- a/src/Dockerfile.php +++ b/src/Dockerfile.php @@ -13,7 +13,7 @@ class Dockerfile public static function fresh($environment) { $content = <<<'Dockerfile' -FROM laravelphp/vapor:php82 +FROM laravelphp/vapor:php83 COPY . /var/task Dockerfile; diff --git a/src/Manifest.php b/src/Manifest.php index 719afd26..ddf89f1c 100644 --- a/src/Manifest.php +++ b/src/Manifest.php @@ -237,7 +237,7 @@ protected static function freshConfiguration($project) $environments['production'] = array_filter([ 'memory' => 1024, 'cli-memory' => 512, - 'runtime' => 'php-8.2:al2', + 'runtime' => 'php-8.3:al2', 'build' => [ 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev', 'php artisan event:cache', @@ -251,7 +251,7 @@ protected static function freshConfiguration($project) $environments['staging'] = array_filter([ 'memory' => 1024, 'cli-memory' => 512, - 'runtime' => 'php-8.2:al2', + 'runtime' => 'php-8.3:al2', 'build' => [ 'COMPOSER_MIRROR_PATH_REPOS=1 composer install', 'php artisan event:cache',