Bug #79238
closed
Composer dependency to PHP7 for TYPO3 7.6
Added by Kevin Ditscheid almost 8 years ago.
Updated over 7 years ago.
Description
The dependency version for TYPO3 7.6 is set to >= PHP 5.5.
This would mean, that TYPO3 7.6 would be compatible to PHP 7.2, PHP 8 or PHP 9 (which obviously can not be the case).
This needs to be changed to something like PHP 5.5 - PHP 7.0 (as PHP 7.1 isn't fully supported right now, I guess).
- Subject changed from Composer dependecy to PHP7 for TYPO37.6 to Composer dependency to PHP7 for TYPO3 7.6
- Description updated (diff)
- Status changed from New to Rejected
Actually, v7 DOES support php 7.1. and since nothing else has been released yet on php side, i guess we could keep the current constraint and adapt only if needed.
I fully disagree with that. The version constraint is simply wrong, because it implies that v7 will be compatible with any PHP version of the future, which obviously is not and never will be the case. The error already rendered all 7 Versions vulnerable to being installed on future PHP versions, which they are not supposed to work on, instead of telling the user the fact, that the newer PHP versions have never been tested to work with v7. For me, the exact opposite way of telling the supported versions as of now, instead of making great assumptions about the future, that is the right way to do.
So regardless of the fact that TYPO3 7 is supporting all the PHP versions that are in use as of right now, the moment will definitely come, where TYPO3 7 will not be able to run under a newer PHP version and thus the version constraint must match the PHP versions the system supports right now and not will in the far future.
then please go ahead and push patches for v7 and v8 so we can review in detail.
Also available in: Atom
PDF