Task #93246
Check maximum PHP version in entrypoints
0%
Description
The entrypoints for FE, BE and CLI should not only check for a minimum PHP version but also a maximum PHP version. This reflects the composer.json
which contains e.g. "php": "^7.4"
and thus disallows installation with PHP 8.x.
However, this can accidentally be bypassed if a local development environment uses PHP 7.4 and a remote server uses PHP 8.0.
For this reason an additional check should be added to all entrypoints as safeguard.
Related issues
Updated by Gerrit Code Review about 2 months ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67365
Updated by Helmut Hummel about 2 months ago
- Related to Bug #93257: Use Composer runtime platform check instead of our own added
Updated by Gerrit Code Review about 2 months ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67365
Updated by Gerrit Code Review 24 days ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67365