patronage / bubs-next

Headless Wordpress + Next.js Project scaffolding
https://bubs-next.vercel.app
MIT License
37 stars 10 forks source link

Lock composer deps to a php version #284

Closed ccorda closed 1 year ago

ccorda commented 1 year ago

If people are running different versions of PHP (either because of an update to docker, or running system php), then we can get differing packages installed via composer.

I believe this will do the trick at pinning the php version, which should match both docker and the hosting environment:

    "platform": {
      "php": "7.4.21"
    },