Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not resolve PHP level set list for "80199" #8455

Closed
kamil-tekiela opened this issue Feb 4, 2024 · 1 comment · Fixed by rectorphp/rector-src#5555
Closed

Could not resolve PHP level set list for "80199" #8455

kamil-tekiela opened this issue Feb 4, 2024 · 1 comment · Fixed by rectorphp/rector-src#5555
Assignees
Labels

Comments

@kamil-tekiela
Copy link

Bug Report

Subject Details
Rector version v0.19.6

When using Rector with the default config and the option ->withPhpSets() to let Rector figure out the PHP version on its own, I get this error:

[ERROR] Could not resolve PHP level set list for "80199"

        "platform": {
            "php": "8.1.99"
        }

This is because in composer.json I have

I would expect Rector to pick PHP 8.1 set.

@TomasVotruba
Copy link
Member

TomasVotruba commented Feb 4, 2024

Thanks for reporting

Fixed in rectorphp/rector-src#5555

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants