Dependency Graph
View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0031699 | mantisbt | api rest | public | 2022-12-01 08:41 | 2025-01-31 20:57 |
Reporter | dregad | Assigned To | |||
Priority | high | Severity | major | Reproducibility | N/A |
Status | confirmed | Resolution | open | ||
Target Version | 2.28.0 | ||||
Summary | 0031699: Upgrade Slim Framework to 4.x | ||||
Description | Slim 3.x has reached end-of-life and is only getting security updates. PHP 8.1 compatibility is limited, and the Slim team have clearly stated that they will not accept pull request to fix that. The latest version of Slim (4.11.0 as of this writing) requires PHP 7.4. | ||||
Tags | PHP 8.1, PHP 8.2, PHP 8.4 | ||||
related to | 0030841 | closed | dregad | Update Slim Framework to 3.12.4 |
related to | 0031678 | closed | dregad | cannot fetch data with rest api after upgrade |
parent of | 0032808 | closed | dregad | Increase minimum PHP requirement to 7.4 |
parent of | 0027840 | closed | dregad | Increase minimum PHP requirement to 7.2.5 |
related to | 0032866 | closed | dregad | Allow REST API to run on PHP 8.1 without squelching E_DEPRECATED notices |
related to | 0035284 | resolved | dregad | Allow REST API to run on PHP 8.4 ignoring E_DEPRECATED notices |
child of | 0032027 | closed | dregad | PHP 8.2 support |
child of | 0035216 | assigned | dregad | PHP 8.4 compatibility |
Actually, PHP 7.4 is only required as of Slim 4.10.0. PHP 7.2 support was dropped in Slim 4.9.0, so we could consider upgrading to 4.8.1 with our current requirements. |
|
It looks like making our old Slim 3.x work under PHP 8.4 is not going to be possible without patching the source, as some of the errors are occurring before the custom handler that I implemented in 0032866 is in place, so they cannot be caught with it. |
|
I managed to find a workaround to run on PHP 8.4 without upgrading to Slim 4, see 0035284. |
|