We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Have a project with the dependency plugin installed, and when I try to run composer require laminas/laminas-db --dev I get an ErrorException:
composer require laminas/laminas-db --dev
[ErrorException] array_shift() expects parameter 1 to be array, boolean given
Current behavior is above.
Described above.
Composer should install the laminas/laminas-db package.
laminas/laminas-db
Looking at the source, there appears to be a case where an assignment operator is used where a comparison operator should be used instead: https://github.com/laminas/laminas-dependency-plugin/blob/master/src/DependencyRewriterPlugin.php#L230
If I manually edit that file and change that assignment to a == comparison operator, the composer require command is successful.
==
composer require
The text was updated successfully, but these errors were encountered:
Looks like this commit introduced the bug:
2249ce2
Sorry, something went wrong.
a57a6d0
No branches or pull requests
Bug Report
Summary
Have a project with the dependency plugin installed, and when I try to run
composer require laminas/laminas-db --dev
I get an ErrorException:Current behavior
Current behavior is above.
How to reproduce
Described above.
Expected behavior
Composer should install the
laminas/laminas-db
package.Looking at the source, there appears to be a case where an assignment operator is used where a comparison operator should be used instead: https://github.com/laminas/laminas-dependency-plugin/blob/master/src/DependencyRewriterPlugin.php#L230
If I manually edit that file and change that assignment to a
==
comparison operator, thecomposer require
command is successful.The text was updated successfully, but these errors were encountered: