-
Symfony version(s) affected6.0 DescriptionUnable to install symfony 6.0 Ruining
php verstion
Output
How to reproducejust run
Possible SolutionNo response Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi! The output shows that So there must be something wrong with your environment. Did you by any chance installed the php-psr extension? This extension is not officially supported and is known to cause these type of type mismatches (ref). PSR packages only officially support installation through Composer. moving to discussions, as this is not a bug within Symfony as far as I can see |
Beta Was this translation helpful? Give feedback.
-
@wouterj It was indeed the php-psr extension. |
Beta Was this translation helpful? Give feedback.
-
Please disable extension php-psr, it conflicted with symfony. |
Beta Was this translation helpful? Give feedback.
Hi!
The output shows that
psr/cache
3.0 is installed, which does come with the correct signature: https://github.com/php-fig/cache/blob/3.0.0/src/CacheItemInterface.php#L89So there must be something wrong with your environment. Did you by any chance installed the php-psr extension? This extension is not officially supported and is known to cause these type of type mismatches (ref). PSR packages only officially support installation through Composer.
moving to discussions, as this is not a bug within Symfony as far as I can see