diff options
| author | Simon Wisselink <wisskid@users.noreply.github.com> | 2025-11-19 22:33:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-19 22:33:49 +0100 |
| commit | 8cc9a75964b37c9a58251d2747118297582cd673 (patch) | |
| tree | ebdfefd1223ed779fcdb9b8a7a2f6095e6f860c7 | |
| parent | 21d7fbb67e8c6098084d9ba49d5cef07c8de49be (diff) | |
| download | smarty-8cc9a75964b37c9a58251d2747118297582cd673.tar.gz smarty-8cc9a75964b37c9a58251d2747118297582cd673.tar.bz2 smarty-8cc9a75964b37c9a58251d2747118297582cd673.zip | |
Php8.5 support (#1138)
* PHP 8.5 support (using RC docker image for php 8.5 unit tests)
| -rw-r--r-- | .github/workflows/ci.yml | 1 | ||||
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | changelog/1137.md | 1 | ||||
| -rw-r--r-- | docs/getting-started.md | 2 | ||||
| -rw-r--r-- | utilities/testrunners/php85/Dockerfile | 10 |
5 files changed, 14 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a6e63be..47c4aab4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,7 @@ jobs: - "8.2" - "8.3" - "8.4" + - "8.5" compiler: - default @@ -7,7 +7,7 @@ Smarty is a template engine for PHP, facilitating the separation of presentation Read the [documentation](https://smarty-php.github.io/smarty/) to find out how to use it. ## Requirements -Smarty v5 can be run with PHP 7.2 to PHP 8.4. +Smarty v5 can be run with PHP 7.2 to PHP 8.5. ## Installation Smarty versions 3.1.11 or later can be installed with [Composer](https://getcomposer.org/). diff --git a/changelog/1137.md b/changelog/1137.md new file mode 100644 index 00000000..0293b0f6 --- /dev/null +++ b/changelog/1137.md @@ -0,0 +1 @@ +- PHP 8.5 support diff --git a/docs/getting-started.md b/docs/getting-started.md index 1ea927e9..17a0042b 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -1,7 +1,7 @@ # Getting started ## Requirements -Smarty can be run with PHP 7.2 to PHP 8.4. +Smarty can be run with PHP 7.2 to PHP 8.5. ## Installation Smarty can be installed with [Composer](https://getcomposer.org/). diff --git a/utilities/testrunners/php85/Dockerfile b/utilities/testrunners/php85/Dockerfile new file mode 100644 index 00000000..46bde811 --- /dev/null +++ b/utilities/testrunners/php85/Dockerfile @@ -0,0 +1,10 @@ +FROM php:8.5-rc-cli-bullseye + +## Basic utilities +RUN apt-get update -yqq && apt-get install -y curl apt-utils git zip unzip + +## Composer +COPY ./utilities/testrunners/shared/install-composer.sh /root/install-composer.sh +WORKDIR /root +RUN sh ./install-composer.sh +RUN mv ./composer.phar /usr/local/bin/composer |
