Alexander Makarov
Alexander Makarov
It may go as enhancement. See how it's implemented in https://github.com/yiisoft/rbac/pull/70. Should not require too much changes.
Any idea when/why?
We should not assume incorrect payload could be processed...
Recently almost all databases started to support JSON including searching. Should be better than serialize, unserialize. Another way is normalized version of it called EAV.
I'm not declining it. Just mentioned that there could be better ways doing that.
https://github.com/yii2tech/ar-dynattribute
Any idea on how to fix it?
Can't we mock UploadedFile somehow instead of mixing production code and tests?
@SamMousa do you have any ideas about that?
Sounds much better than conditions in `UploadedFile` itself. Should we move it to Codeception repo issues?