Project

General

Profile

Actions

Bug #83330

closed

TYPO3 8.7.9 depends on "symfony/yaml" which requires PHP 7.1, but the official system requirements state only PHP 7.0

Added by Stefan P over 6 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-12-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
composer symfony php
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

After upgrading one of our v8 installations running on PHP 7.0 to version 8.7.9 it started throwing exceptions about nullable return values (the question mark flag to allow null returns) in the Symfony yaml parser. The composer dependencies of symfony/yaml state "^7.1.3" for PHP - so the latest TYPO3 core update actually raised the minimum PHP version implicitly to 7.1, even though 7.0 is the official requirement.

This could bring a lot of installations down when they update.

Actions #1

Updated by Georg Ringer over 6 years ago

  • Status changed from New to Needs Feedback

are you maybe updating your site while having PHP 7.1 locally available? then you will get different packages then using 7.0

Actions #2

Updated by Stefan P over 6 years ago

You are right, we used PHP 7.1 on the composer update, but had PHP 7.0 on the live system. Updating with PHP 7.0 fixed it.

But apparently it does not matter if TYPO3 has the "high" or the "low" Symfony package version. So, to me it still seems wrong (but less fatal now) to install package versions that are probably incompatible on another system that actually meets the official requirements.

Actions #3

Updated by Georg Ringer over 6 years ago

  • Status changed from Needs Feedback to Rejected

The PHP version is a requirement which is checked during a composer install/update and you will get those packages which fits best for you. However using the same PHP version for building as in production is something you need to care yourself. I am closing this issue therefore.

Actions

Also available in: Atom PDF