Add PHP 8.4 support to Smarty (#1084)

* Add nullable types

* Removing deprecated E_STRICT constant from test suite.

* Added PHP 8.4 RC1 as test image

* PHP version bump in the README.md.

* Added PHP 8.4 to CI

* Add running tests for PHP 8.4
This commit is contained in:
Jonathan Lelievre
2024-11-21 23:04:22 +01:00
committed by GitHub
parent ffc4415a4f
commit bf87aee3f0
38 changed files with 123 additions and 103 deletions
@@ -12,7 +12,7 @@
class Smarty_Resource_Db4 extends Smarty_Resource
{
public function populate(Smarty_Template_Source $source, Smarty_Internal_Template $_template = null)
public function populate(Smarty_Template_Source $source, ?Smarty_Internal_Template $_template = null)
{
$source->filepath = 'db4:';
$source->uid = sha1($source->resource);