What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hey, is there a way to check, which modules have to be updated for a php version (in this case php8.

U01BZ7Q3XRV
U01BZ7Q3XRV Posts: 148 πŸ§‘πŸ»β€πŸš€ - Cadet

Hey, is there a way to check, which modules have to be updated for a php version (in this case php8.0 ) ?

Comments

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,051 βš–οΈ - Guardians (admin)

    You could update your composer.json in two places for the php 8 version and try

    $ composer update --dry-run
    
  • U01BZ7Q3XRV
    U01BZ7Q3XRV Posts: 148 πŸ§‘πŸ»β€πŸš€ - Cadet

    The hard dependencies are resolved, so the project is installable (and already runs) on php 8. But I mean something like this: https://github.com/spryker/cms-block-gui/commit/983410d43ca3f1b8026928e8791cc8c25632235e . The module in the older version has a php version constraint of >=7.4, so still valid. But you cannot save blocks in Zed anymore, so we have to update it. There are probably more of these hiding somewhere

  • UKHR9UN00
    UKHR9UN00 Posts: 70 πŸ§‘πŸ»β€πŸš€ - Cadet

    You can run composer why-not php 8

  • U01BZ7Q3XRV
    U01BZ7Q3XRV Posts: 148 πŸ§‘πŸ»β€πŸš€ - Cadet

    it does help, to find composer modules that explicitly exclude php8 (e.g. php: ~7.x or <8.0 ) πŸ‘. But unfortunately does not catch modules that have something like >=7.4

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Go through releases history and search for PHP? πŸ™‚ From found RG you should be able to identify many\most of them.

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    But yeah, search functionality for that area wouldn't harm...

  • U01BZ7Q3XRV
    U01BZ7Q3XRV Posts: 148 πŸ§‘πŸ»β€πŸš€ - Cadet

    there is a page size parameter. It seems to be limited to max=100, but then it's only 9 pages at least πŸ˜› thx! https://api.release.spryker.com/release-history?limit=100

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    but then it's only 9 pages at least

    29.

  • U01BZ7Q3XRV
    U01BZ7Q3XRV Posts: 148 πŸ§‘πŸ»β€πŸš€ - Cadet

    oh ok πŸ˜„ right I did only look at the rendered page buttons