Ubuntu's symfony 5.4 is not compatible with php < 8

Bug #1975892 reported by Athos Ribeiro
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
symfony (Ubuntu)
Confirmed
Wishlist
Unassigned
Jammy
Confirmed
Wishlist
Unassigned
Kinetic
Won't Fix
Wishlist
Unassigned

Bug Description

As it is being discussed in https://github.com/phpmyadmin/phpmyadmin/issues/17523,
the symfony package is patched to support newer PSR versions than the ones available in Debian (and than the ones ussported by symfony 5.x).

This results in non_php_<_8_compatible return types being added to some symfony packages. When these are invoked with php 7.4, it results in errors being raised, which is the case for trying to run phpmyadmin with a php7.4 runtime.

Possible solutions include bumping the minimum php requirement for those packages (and possibly update documentations where needed) or re-assessing the patches for PSR compatibility.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in symfony (Ubuntu Jammy):
status: New → Confirmed
Changed in symfony (Ubuntu):
status: New → Confirmed
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

Both kinetic and jammy ship PHP 8. Therefore, I am setting this as a wishlist bug.

Changed in symfony (Ubuntu Jammy):
importance: Undecided → Wishlist
Changed in symfony (Ubuntu Kinetic):
importance: Undecided → Wishlist
Changed in symfony (Ubuntu):
importance: Undecided → Wishlist
Changed in symfony (Ubuntu Kinetic):
status: Confirmed → Won't Fix
Revision history for this message
Walter (icarosnet) wrote :

If there is no fix, should update the official version of php that supports the framework:

https://symfony.com/releases/5.4

https://i.imgur.com/ZYgW1cn.png

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.