FlatPress 1.3.1 - PHP 8.4.0 Alpha 1

For devs and testers: Tests of current development versions, technical details of the code.
Post Reply
laborix
Posts: 151
Joined: Sat Feb 16, 2019 3:51 pm

FlatPress 1.3.1 - PHP 8.4.0 Alpha 1

Post by laborix » Sun Jul 07, 2024 7:25 am

FlatPress 1.3.1 Quick&Dirty Test

Test Server Environment:
Apache 2.4 with FastCGI Interface and PHP 8.4.0 Alpha 1

Code: Select all

PHP Deprecated:  Smarty_Internal_Method_GetTemplateVars::getTemplateVars(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in .../fp-includes/smarty-4.3.1/libs/sysplugins/smarty_internal_method_gettemplatevars.php on line 34
PHP Deprecated:  Smarty_Internal_Method_GetTemplateVars::_getVariable(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in .../fp-includes/smarty-4.3.1/libs/sysplugins/smarty_internal_method_gettemplatevars.php on line 87
PHP Deprecated:  Smarty_Internal_TemplateCompilerBase::compileTemplate(): Implicitly marking parameter $parent_compiler as nullable is deprecated, the explicit nullable type must be used instead in .../fp-includes/smarty-4.3.1/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 386
PHP Deprecated:  Smarty_Internal_TemplateCompilerBase::compileTemplateSource(): Implicitly marking parameter $parent_compiler as nullable is deprecated, the explicit nullable type must be used instead in .../fp-includes/smarty-4.3.1/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 417
PHP Deprecated:  Smarty_Internal_Runtime_CodeFrame::create(): Implicitly marking parameter $compiler as nullable is deprecated, the explicit nullable type must be used instead in .../fp-includes/smarty-4.3.1/libs/sysplugins/smarty_internal_runtime_codeframe.php on line 28
PHP Deprecated:  Smarty_Resource_Custom::populate(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in .../fp-includes/smarty-4.3.1/libs/sysplugins/smarty_resource_custom.php on line 48

User avatar
fraenkiman
Posts: 307
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: FlatPress 1.3.1 - PHP 8.4.0 Alpha 1

Post by fraenkiman » Tue Jul 09, 2024 9:01 pm

Hello Laborix,

Thank you for the quick & dirty test. That was to be expected. I have recorded it here. Smatry 4 (including Smarty 4.5.3) only supports PHP 7.1 to PHP 8.3. We will have to get used to Smarty 5 in the near future.

With best regards
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

User avatar
fraenkiman
Posts: 307
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: FlatPress 1.3.1 - PHP 8.4.0 Alpha 1

Post by fraenkiman » Sat Jul 27, 2024 2:15 pm

Hello everyone,

Since PHP 8.4 will be released in October this year, it is necessary to switch from Smarty 4 to Smarty 5 in FlatPress.
I have created a branch on GitHub and have already started to replace Smarty methods and properties. Unfortunately, the work is not finished yet. I am therefore looking forward to your active support and pull requests.

A to-do list can be found here.

With best regards
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

laborix
Posts: 151
Joined: Sat Feb 16, 2019 3:51 pm

Re: FlatPress 1.3.1 - PHP 8.4.0 Alpha 1

Post by laborix » Sun Jul 28, 2024 4:02 pm

fraenkiman wrote: Sat Jul 27, 2024 2:15 pm... Since PHP 8.4 will be released in October this year, it is necessary to switch from Smarty 4 to Smarty 5 in FlatPress. ...
Quick info, PHP 8.4 is planned for November 21, 2024.

Regardless of this, PHP 8.3 will be provided with security patches until December 31, 2027. So there should actually be plenty of time.
I will still test FlatPress 1.3.1 with PHP 8.4 Alpha 3, from beta development onwards, mostly only bugs are fixed.

laborix
Posts: 151
Joined: Sat Feb 16, 2019 3:51 pm

Re: FlatPress 1.3.1 - PHP 8.4.0 Alpha 1

Post by laborix » Fri Aug 02, 2024 4:09 pm

laborix wrote: Sun Jul 28, 2024 4:02 pm... I will still test FlatPress 1.3.1 with PHP 8.4 Alpha 3, ...
The PHP 8.4.0 alpha 3 was surprisingly skipped and a PHP 8.4.0 alpha 4 was released instead.
Before anything happens again I'll wait for the PHP 8.4.0 feature freeze and then do the mentioned test with PHP 8.4.0 beta 1.
Better to wait before anything else happens ...

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests