Issue Task Closed

#93246Check maximum PHP version in entrypoints

Mathias Brodala 01/08/21, 15:01 updated 05/04/21, 08:08

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.

Reviews 2