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

Project is not support PHP 8.2 #61

Open
yansyunchen opened this issue Mar 9, 2023 · 3 comments
Open

Project is not support PHP 8.2 #61

yansyunchen opened this issue Mar 9, 2023 · 3 comments

Comments

@yansyunchen
Copy link

Project is not support PHP 8.2
When running composer install will show following error, it seems some dependecy is only allow PHP under 8.0
image

@yansyunchen
Copy link
Author

PHP 8.0 would be fine

@ReganLyden
Copy link

@yansyunchen You can try running composer install --ignore-platform-reqs

This will ignore composer.json file and will run anyway.

Obviously, only run this if you know you have 8.2 installed.

@marcelovvm
Copy link

Same problem.

I followed the MS tutorial and chose PHP 8.3. It gives an error that the version is above the supported version. I changed it to 8.2... same thing. Even putting 8.0, the same error continues... and I still get the Azure alert informing me that version 8.0 is deprecated. I am running the application on AzureApps.

GitHub Actions error output:

Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1
- nette/schema is locked to version v1.2.3 and an update of this package was not requested.
- nette/schema v1.2.3 requires php >=7.1 <8.3 -> your php version (8.3.9) does not satisfy that requirement.
Problem 2
- nette/utils is locked to version v4.0.0 and an update of this package was not requested.
- nette/utils v4.0.0 requires php >=8.0 <8.3 -> your php version (8.3.9) does not satisfy that requirement.
Problem 3
- nette/schema v1.2.3 requires php >=7.1 <8.3 -> your php version (8.3.9) does not satisfy that requirement.
- league/config v1.2.0 requires nette/schema ^1.2 -> satisfiable by nette/schema[v1.2.3].
- league/config is locked to version v1.2.0 and an update of this package was not requested.

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

No branches or pull requests

3 participants