-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
The time has come for splat operator #4766
Conversation
- it is possible due to no PHP 5.5 supported anymore
/cc #1047 |
- removed usage of class reflection for object instantiation in other places
Hi @vkublytskyi 3207c4e is wrong - all changes I did in this PR does not require additional See: Please remove unnecessary /cc @okorshenko |
@orlangur - Don't think our code removes string keys, does it? Haven't looked too much, but I didn't see such a conversion. |
@adragus-inviqa this is ObjectManagerFactory internals where arrays are numeric by design. Of course methods available in client code supports string keys. |
@orlangur, you are right |
@vkublytskyi, well, to me it looks like besides this PR similar changes were applied everywhere, then noticed that some of them cause fatal error and thus I didn't know such semantics of the operator thus faced with fatal as well when prepared PR and running tests allowed to catch problems. As to me there is no justification for sub-optimal implementation in core having such a great unit/integration tests coverage. So, I didn't even touch Zend filter and concrete tests intentionally as such change wouldn't bring significant value but affected by PR placed are participating in hundreds of tests. Thus it would be better to have the most compact implementation for crucial places like AbstractFactory or Interceptor and keep |
|
@orlangur as far as I remember you suggested in one of the discussions alternative Reflection framework. Unfortunately I can't find your comment right now. Could you please share your suggestion one more time about alternative library for Reflection. Thank you |
Chaika-2019-09-12-3
No description provided.