-
Notifications
You must be signed in to change notification settings - Fork 68
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
constructParams being applied in the wrong order #181
Comments
denizozsen
added a commit
to denizozsen/Dice
that referenced
this issue
Apr 30, 2020
…o next paramInfo element on finding a match
I have merged a fix in a fork that I maintain: |
jtojnar
added a commit
to fossar/selfoss
that referenced
this issue
Jun 15, 2023
Dice is nice but the code is showing its age (very dynamic) and contains serious app breaking bugs like: Level-2/Dice#181 Looking at other options on Packagist, skipping obviously abandoned or associated with the facade-infested framework: - https://github.com/nette/di 😡 container generator 😡 too featureful - https://github.com/symfony/dependency-injection 🙂 native PSR-11 😡 promotes configuration - https://github.com/PHP-DI/PHP-DI 🙂 nice docs 😡 also too featureful - https://github.com/auraphp/Aura.Di 😡 verbose API - https://github.com/ray-di/Ray.Di 🙂 nice docs 😡 “enterprise” API - https://github.com/slince/di 🙂 native PSR-11 🙂 nice API 😡 few unneeded features (aliases, parameters, tags) - https://github.com/thephpleague/container 🙂 native PSR-11 🙂 nice API 🙂 nice docs 😡 even more unneeded features (inflectors) After reviewing all of the above, I selected Slince’s DI library. There were some bugs but they were quickly addressed upstream.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This appears to have started in version 4.0.2. When a rule contains 3 or more constructor parameters, the object is no longer initialized with the constructor parameters in the defined order.
Example (run on PHP 7.3.11 on a Mac):
Expected output (output in version 4.0.1):
Actual output (output in version 4.0.2):
The text was updated successfully, but these errors were encountered: