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

Does it support PHP 8.0.12? #311

Closed
ramseyjiang opened this issue Nov 8, 2021 · 2 comments
Closed

Does it support PHP 8.0.12? #311

ramseyjiang opened this issue Nov 8, 2021 · 2 comments

Comments

@ramseyjiang
Copy link

When I used composer try to install ss in my local env, it has issues below:

$composer create-project silverstripe/installer ss_example

Creating a "silverstripe/installer" project at "./ss_example"
Installing silverstripe/installer (4.9.0)

  • Installing silverstripe/installer (4.9.0): Extracting archive
    Created project in /Users/jiangdawei/Desktop/PHPApp/ss_example
    Loading composer repositories with package information
    Updating dependencies
    Your requirements could not be resolved to an installable set of packages.

Problem 1
- sminnee/phpunit[5.7.28, ..., 5.7.x-dev] require phpunit/php-code-coverage ^4.0.4 -> satisfiable by phpunit/php-code-coverage[4.0.4, ..., 4.0.8].
- phpunit/php-code-coverage[4.0.4, ..., 4.0.8] require php ^5.6 || ^7.0 -> your php version (8.0.12) does not satisfy that requirement.
- Root composer.json requires sminnee/phpunit ^5.7 -> satisfiable by sminnee/phpunit[5.7.28, 5.7.29, 5.7.x-dev].

@ramseyjiang
Copy link
Author

So I don't know whether this version supports PHP 8.0.12 or not?

@maxime-rainville
Copy link
Contributor

Silverstripe CMS Recipe 4.10 will have full support for PHP8 and PHPUnit9. You can learn more on this issue: silverstripe/silverstripe-framework#10019

You can install Silverstripe CMS Recipe 4.9 by removing the dev dependencies that are not installable on PHP8 or by using the --ignore-platform-reqs flag with your composer command. But you won't be able to run unit tests.

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

2 participants