Skip to content

Commit

Permalink
Add support for PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Jan 17, 2024
1 parent b018198 commit b45be3f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['8.1', '8.2']
php-version: ['8.1', '8.2', '8.3']
runs-on: ubuntu-latest
env:
DS_PHP_VERSION: ${{ matrix.php-version }}
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* Dynamically map user id and group id to the container, base on the host user
* Update maildev instructions
* Drop support for PHP < 8.1
* Add support for PHP 8.3
* Add some PHP tooling (PHP-CS-Fixer, PHPStan)
* Add `castor init` command to initialize a new project
* Add `castor symfony` to install a Symfony application
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.2`): This is PHP version.
* `php_version` (optional, default: `8.3`): This is PHP version.

For example:

Expand All @@ -50,7 +50,7 @@ function create_default_parameters(): Context
"admin.{$projectName}.{$tld}",
"api.{$projectName}.{$tld}",
],
'php_version' => 8.2,
'php_version' => 8.3,
];
)
```
Expand Down
2 changes: 1 addition & 1 deletion castor.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function create_default_variables(): array
'extra_domains' => [
"www.{$projectName}.{$tld}",
],
'php_version' => $_SERVER['DS_PHP_VERSION'] ?? '8.2',
'php_version' => $_SERVER['DS_PHP_VERSION'] ?? '8.3',
];
}

Expand Down

0 comments on commit b45be3f

Please sign in to comment.