symfony / recipes-contrib

Symfony Contrib Recipes Repositories

Home Page:https://github.com/symfony/recipes-contrib/blob/flex/main/RECIPES.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

recipes-contrib check for PHP 7.4 failing expectedly, preventing merging

amacrobert opened this issue · comments

Regarding #1404

"call-qa / Run updated recipes" is failing at the check for skeleton ^5 with PHP 7.4, because my bundle doesn't install with PHP 7.4. That's expected -- the bundle requires PHP 8.0 because the package it integrates requires PHP 8.0.

Can anyone inform me on how to continue here?

Ditto. My bundle (https://github.com/survos/BarcodeBundle) uses the new (simplified) 6.1 bundle configuration. It also only runs with php8.

I've tried this in composer.json, but no luck, but I still get an error that it's trying to use Symfony 5 and PHP 7.

    "extra": {
        "symfony": {
            "require": "^6.1"
        }
    }
[call-qa / Run updated recipes](https://github.com/symfony/recipes-contrib/runs/6670453481?check_suite_focus=true#step:4:198)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - survos/barcode-bundle[1.0.1, ..., 1.3.2] require php ^8.1 -> your php version (7.4.29) does not satisfy that requirement.
    - Root composer.json requires survos/barcode-bundle ^1.0 -> satisfiable by survos/barcode-bundle[1.0.1, ..., 1.3.2].

@wouterj Thanks for the recommendation to use a recipe for symfony/symfony#46501. Is it possible to create a recipe that only works with Symfony 6.1 and PHP8?

Only the checks that are marked as "required" must be green. The "Run updated recipes" check is not marked as required as we are aware that it breaks in cases like described here.

image

Your PR will be merged whenever a core team member reviews it, as outlined in the README of this repository: https://github.com/symfony/recipes-contrib#contributing That usually happens within a month or so.