-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Error on clean skeleton installation with PHP 8.1 and elie29/zend-phpdi-config #71
Comments
Yes, I think PHPDI support should be dropped. Could you create PR to remove it? Thank you. |
@samsonasik it's a quite stable DIC - do we really want to kill it? 🤔 |
Not the PHPDI package itself, but the bridge, as far as I remember, |
Ah, totally agree on the bridge. Yes, we cannot keep it in there, if it's not maintained. |
@Ocramius the bridge is maintained, I need more info about the error. For PHP 8+, we need the v8 for the bridge |
Hey @elie29, thanks for the feedback: I think you are already discussing this with @samsonasik in #72, sorry for the duplicate noise. |
The issue is still open, does anyone work on it? |
@someson |
@froschdesign the bridge needs an update to be compatible with php8.1. I am working on it |
I created the issue : elie29/zend-di-config#55 |
@froschdesign @Ocramius elie29/zend-di-config is compatible with PHP 8.1. All tests passed. you can checkout version 9.0.0 |
See #82 |
Is this issue resolved? Fresh installed php 8.1.12 and Composer 2.4.4 still produce error about the elie29/zend-phpdi-config being locked to 6.0.0. |
Looks like the configuration for the installer is wrong: mezzio-skeleton/src/MezzioInstaller/config.php Lines 11 to 13 in 3b02a41
It must be the same as in the Composer configuration: Line 56 in 3b02a41
|
Edit the |
@froschdesign should I create a PR to correct the config of the installer? |
@elie29 |
Signed-off-by: Elie NEHME <elie29@users.noreply.github.com>
@froschdesign you can find here #99 |
Signed-off-by: Elie NEHME <elie29@users.noreply.github.com>
The configuration for the installer is wrong #71
Handled in #99 |
Bug Report
I encountered an error on a clean skeleton installation. I am testing with PHP 8.1 and Composer 2.3.7
Summary
I installed Mezzio Skeleton from
composer create-project
and encountered an error thatelie29/zend-phpdi-config
was locked at 6.0 and, thus locked into PHP ^7.1. This is not even a module I requested. I requested to use the laminas-servicemanager strategy.Current behavior
Skeleton not installed. Composer shows an error with an unrequested package. I was able to push through this by manually editing
composer.lock
and removing theelie29/zend-phpdi-config
package entirely.How to reproduce
composer create-project mezzio/mezzio-skeleton mezzio
This is also reproduced with the Minimal installation.
Expected behavior
Skeleton installed.
The text was updated successfully, but these errors were encountered: