Closed commercial-hippie closed 4 years ago
Why wasnt the namespace fixed for the new major? Josegonzalez/Upload is still the name unfortunately.
I would be fine with changing the namespace.
I think it is too late after releasing several stable releases/patches. It is just confusing to have FOC/Upload etc mentioned, and then the namespace and plugin name being a different one.
I fixed it here for now: https://github.com/FriendsOfCake/awesome-cakephp#files
@ADmad I fixed the review comment, anything else before this can get merged?
Given that we have other bc-incompatible changes, I'd also be fine with a major release that changes the namespace (or even drops the top-level namespace to match how we do all the other FOC plugins).
@josegonzalez Well the test cases are failing, so the change done to handle UploadedFileInterface
still needs work.
Hello! Is anyone working on correcting the tests?
Cake 4 uses the
\Zend\Diactoros\UploadedFile
class for uploaded files which broke the plugin. Might be better to use theUploadedFileInterface
here though.Will look at tests soon just wanted to make the pull request because I keep on forgetting about it and did this quite some time ago.