Skip to content

Commit

Permalink
set php8.3 as default
Browse files Browse the repository at this point in the history
  • Loading branch information
joedixon committed Feb 16, 2024
1 parent 4870c5e commit a6bd6aa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Commands/EnvCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
3 changes: 2 additions & 1 deletion src/Commands/LocalCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
];

/**
Expand Down Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion src/Dockerfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/Manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit a6bd6aa

Please sign in to comment.