symfony / webapp-pack

A recommended pack to install on top of the default Symfony skeleton
19 stars 8 forks source link

webapp 1.2 not working with PHP 7.4 (Symfony 5.4 LTS) #11

Open zulus opened 1 year ago

zulus commented 1 year ago

Moved from symfony-cli/symfony-cli#331

Symfony 5.4 LTS in theory support PHP7.4 but symfony-cli new --webapp --version=lts or just composer require webapp --no-interaction unable to finish if used on PHP7.4:

 [KO]
Script cache:clear returned with error code 1
!!
!!  In CheckExceptionOnInvalidReferenceBehaviorPass.php line 86:
!!
!!    The service "doctrine.orm.default_annotation_metadata_driver" has a depende
!!    ncy on a non-existent service "doctrine.orm.metadata.annotation_reader".
!!
!!
!!
Script @auto-scripts was called via post-update-cmd

If I'll use php81 composer require webapp --no-interaction it will install but still not working on PHP7.4

dfranco commented 8 months ago

Same issue here, but solved by running

composer require webapp:1.2.0

Documentation should be updated for Symfony 5.4