Compare commits

..

2 Commits

Author SHA1 Message Date
Simon Wisselink 8b0be54986 Add CHANGELOG.md 2022-01-21 10:07:46 +01:00
Thomas A. Hirsch f89c6a2b3a php 8.1 compatibility (changes from https://github.com/smarty-php/smarty/pull/678) 2022-01-18 11:31:51 +01:00
6 changed files with 5 additions and 9 deletions
-3
View File
@@ -37,9 +37,6 @@ jobs:
- os: ubuntu-latest
php-version: "8.0"
compiler: jit
- os: ubuntu-latest
php-version: "8.1"
compiler: jit
steps:
- name: Checkout
+1 -3
View File
@@ -6,10 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [4.1.0] - 2022-02-06
### Added
- PHP8.1 compatibility [#713](https://github.com/smarty-php/smarty/pull/713)
- PHP8.1 compatibility [#711](https://github.com/smarty-php/smarty/pull/711)
## [4.0.4] - 2022-01-18
+1 -1
View File
@@ -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 can be run with PHP 7.1 to PHP 8.1.
Smarty can be run with PHP 7.1 to PHP 8.0.
## Installation
Smarty versions 3.1.11 or later can be installed with [Composer](https://getcomposer.org/).
+1 -1
View File
@@ -2,7 +2,7 @@ What is Smarty?
==============
## Requirements
Smarty can be run with PHP 7.1 to PHP 8.1.
Smarty can be run with PHP 7.1 to PHP 8.0.
## Installation
Smarty versions 3.1.11 or later can be installed with [Composer](https://getcomposer.org/).
+1 -1
View File
@@ -98,7 +98,7 @@ class Smarty extends Smarty_Internal_TemplateBase
/**
* smarty version
*/
const SMARTY_VERSION = '4.1.0';
const SMARTY_VERSION = '4.0.4';
/**
* define variable scopes
*/
@@ -22,6 +22,7 @@ class SmartyCompilerException extends SmartyException
{
$this->line = $line;
}
/**
* The template source snippet relating to the error
*