From cdb6f47464ae3c17d2c516989118ef3186315dff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Thu, 27 Nov 2025 10:54:43 +0100 Subject: [PATCH] Use PHP 8.5 by default --- .castor/context.php | 2 +- .github/workflows/cache.yml | 2 +- README.md | 2 +- castor.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.castor/context.php b/.castor/context.php index a82884fc..22ae5dc7 100644 --- a/.castor/context.php +++ b/.castor/context.php @@ -15,7 +15,7 @@ function create_default_context(): Context 'project_name' => 'app', 'root_domain' => 'app.test', 'extra_domains' => [], - 'php_version' => '8.4', + 'php_version' => '8.5', 'docker_compose_files' => [ 'docker-compose.yml', 'docker-compose.dev.yml', diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index f0a86225..0e7814b8 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -11,7 +11,7 @@ permissions: env: DS_REGISTRY: "ghcr.io/jolicode/docker-starter" - DS_PHP_VERSION: "8.4" + DS_PHP_VERSION: "8.5" jobs: push-images: diff --git a/README.md b/README.md index ee2b9514..39a31f7b 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ domain where the application will be available; * `extra_domains` (optional): This contains extra domains where the application will be available; -* `php_version` (optional, default: `8.3`): This is PHP version. +* `php_version` (optional, default: `8.5`): This is PHP version. For example: diff --git a/castor.php b/castor.php index 54fb7edc..1757b4f6 100644 --- a/castor.php +++ b/castor.php @@ -35,7 +35,7 @@ function create_default_variables(): array ], // In order to test docker stater, we need a way to pass different values. // You should remove the `$_SERVER` and hardcode your configuration. - 'php_version' => $_SERVER['DS_PHP_VERSION'] ?? '8.4', + 'php_version' => $_SERVER['DS_PHP_VERSION'] ?? '8.5', 'registry' => $_SERVER['DS_REGISTRY'] ?? null, ]; }