laminas-api-tools / api-tools-skeleton

Skeleton Application for Laminas API Tools
https://api-tools.getlaminas.org/documentation
BSD 3-Clause "New" or "Revised" License
50 stars 64 forks source link

Adjust packages and extensions in order to run on PHP 8.0 #51

Closed giannicic closed 2 years ago

giannicic commented 2 years ago
Q A
Documentation no
Bugfix no
BC Break no
New Feature no
RFC no
QA no

Description

I've seen that the project skeleton can't run on PHP-8.0 as reported here #44 Since I also have the need to run a new project on PHP-8.0 I've adjusted the composer packages and Dockerfile in order to run on that version. Hope you find it usefull

froschdesign commented 2 years ago

@giannicic The support for PHP 8.0 was added with #31 and released with version 1.6.0.

But updating the Docker file is also good.

giannicic commented 2 years ago

@giannicic The support for PHP 8.0 was added with #31 and released with version 1.6.0.

But updating the Docker file is also good.

Ah ok, sorry. I haven't seen that composer works with --ignore-platform-req=php. I was following the instructions here https://api-tools.getlaminas.org/ and on PHP8 it gives the same errors reported in #44 Anyway I've updated the Dockerfile to PHP8. Thanks

@froschdesign