summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml1
-rw-r--r--README.md2
-rw-r--r--changelog/1137.md1
-rw-r--r--docs/getting-started.md2
-rw-r--r--utilities/testrunners/php85/Dockerfile10
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
diff --git a/README.md b/README.md
index 1b44172d..3c6edc29 100644
--- a/README.md
+++ b/README.md
@@ -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