Closed Alex-D closed 7 years ago
Don't know for certain if this going to be pulled in, but I left some comments on the code.
Can't use array_map or similar because I create a new associative array.
I've added a lot of comments, hope it helps you to understand my code :)
I really don't like the fact that the function is so long. Could you break it up into other function. Also make that function public and write some tests specifically for the function. That'll help me to further refactor the code.
Should I split that?
And why this function should be public?
And why this function should be public?
To make it easier to test.
Should I split that?
Take a first stab at it. I'll refactor if necessary.
I'll refactor it myself. Thank you for this!
Sorry for the lack of time ^^' Thanks for the refactor :)
In order to fix #9 I've made a patch which can be down to dropbox-api level, but it can do some more calls to Dropbox and only do some failures with Flysystem ecosystem.