Skip to content

Commit 8cc9a75

Browse files
authored
Php8.5 support (#1138)
* PHP 8.5 support (using RC docker image for php 8.5 unit tests)
1 parent 21d7fbb commit 8cc9a75

File tree

5 files changed

+14
-2
lines changed

5 files changed

+14
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
- "8.2"
3535
- "8.3"
3636
- "8.4"
37+
- "8.5"
3738

3839
compiler:
3940
- default

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Smarty is a template engine for PHP, facilitating the separation of presentation
77
Read the [documentation](https://smarty-php.github.io/smarty/) to find out how to use it.
88

99
## Requirements
10-
Smarty v5 can be run with PHP 7.2 to PHP 8.4.
10+
Smarty v5 can be run with PHP 7.2 to PHP 8.5.
1111

1212
## Installation
1313
Smarty versions 3.1.11 or later can be installed with [Composer](https://getcomposer.org/).

changelog/1137.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- PHP 8.5 support

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Getting started
22

33
## Requirements
4-
Smarty can be run with PHP 7.2 to PHP 8.4.
4+
Smarty can be run with PHP 7.2 to PHP 8.5.
55

66
## Installation
77
Smarty can be installed with [Composer](https://getcomposer.org/).
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM php:8.5-rc-cli-bullseye
2+
3+
## Basic utilities
4+
RUN apt-get update -yqq && apt-get install -y curl apt-utils git zip unzip
5+
6+
## Composer
7+
COPY ./utilities/testrunners/shared/install-composer.sh /root/install-composer.sh
8+
WORKDIR /root
9+
RUN sh ./install-composer.sh
10+
RUN mv ./composer.phar /usr/local/bin/composer

0 commit comments

Comments
 (0)