Skip to content

Commit 07d783c

Browse files
authored
set php8.3 as default (#251)
1 parent 4870c5e commit 07d783c

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

src/Commands/EnvCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function handle()
5050
Manifest::addEnvironment($environment, [
5151
'memory' => 1024,
5252
'cli-memory' => 512,
53-
'runtime' => $this->option('docker') ? 'docker' : 'php-8.2:al2',
53+
'runtime' => $this->option('docker') ? 'docker' : 'php-8.3:al2',
5454
'build' => [
5555
'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev',
5656
'php artisan event:cache',

src/Commands/LocalCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class LocalCommand extends Command
2121
'8.0' => 'laravelphp/vapor:php80',
2222
'8.1' => 'laravelphp/vapor:php81',
2323
'8.2' => 'laravelphp/vapor:php82',
24+
'8.3' => 'laravelphp/vapor:php83',
2425
];
2526

2627
/**
@@ -129,7 +130,7 @@ protected function dockerConfiguration()
129130
],
130131
],
131132
'app' => [
132-
'image' => static::$images[$this->option('php') ? $this->option('php') : '8.2'],
133+
'image' => static::$images[$this->option('php') ? $this->option('php') : '8.3'],
133134
'depends_on' => [
134135
0 => 'mysql',
135136
1 => 'redis',

src/Dockerfile.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Dockerfile
1313
public static function fresh($environment)
1414
{
1515
$content = <<<'Dockerfile'
16-
FROM laravelphp/vapor:php82
16+
FROM laravelphp/vapor:php83
1717
1818
COPY . /var/task
1919
Dockerfile;

src/Manifest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ protected static function freshConfiguration($project)
237237
$environments['production'] = array_filter([
238238
'memory' => 1024,
239239
'cli-memory' => 512,
240-
'runtime' => 'php-8.2:al2',
240+
'runtime' => 'php-8.3:al2',
241241
'build' => [
242242
'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev',
243243
'php artisan event:cache',
@@ -251,7 +251,7 @@ protected static function freshConfiguration($project)
251251
$environments['staging'] = array_filter([
252252
'memory' => 1024,
253253
'cli-memory' => 512,
254-
'runtime' => 'php-8.2:al2',
254+
'runtime' => 'php-8.3:al2',
255255
'build' => [
256256
'COMPOSER_MIRROR_PATH_REPOS=1 composer install',
257257
'php artisan event:cache',

0 commit comments

Comments
 (0)