-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
composer create-project Fatal type error php 8.0 #9554
Comments
The issue is you're using a very old mezzio/mezzio-skeleton (0.5.3). If you force the version to a new one like The issue seems to be that you're using PHP 8 and the new versions of mezzio-skeleton only support 7.1, while this old 0.5.3 had no php constraint so it is chosen as the default version. Running the command with ^3 constraint shows the root cause:
|
@weierophinney it might be good to delete the 0.x tags from github and packagist.org for this package. According to the stats it seems like pretty much nobody is using them https://packagist.org/packages/mezzio/mezzio-skeleton/stats - except a few lost souls in the last few weeks which I assume were all using PHP 8. |
@Seldaek do we need to delete the tags, or just the releases on Packagist? (i.e., if we delete the release on packagist, is it going to re-populate the version later because the release exists on GitHub, or does it stay removed from Packagist at that point?) |
@weierophinney you'll have to delete the tags otherwise they come back on the next packagist update yes. |
@Seldaek Thank you, I appreciate your time. It just I thought that php 8 was causing this issue. |
I've deleted all pre-1.0.0 tags from the GitHub repo, and removed them from Packagist as well; hopefully this resolves the issues reported! |
My
composer.json
:No composer.json
Output of
composer diagnose
:When I run this command:
I get the following output:
And I expected this to happen:
New project creation
The text was updated successfully, but these errors were encountered: