Skip to content
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

Added overwrite option to UploadedFile->move(), Issue #275 #288

Merged
merged 1 commit into from
Oct 5, 2016
Merged

Added overwrite option to UploadedFile->move(), Issue #275 #288

merged 1 commit into from
Oct 5, 2016

Conversation

ozdemirburak
Copy link
Contributor

Hoping that this resolves the issue #275.

By the way, I'm not sure with my method of overwriting the is_uploaded_file and move_uploaded_file functions for the tests. Would like to hear a feedback about them.

@lonnieezell
Copy link
Member

I''m fine with the way you did the tests. And as long as it's finding the overridden methods just fine, that works for me. The only potential thing that could have been done differently was to use vfsStream (which should be setup as a require-dev in composer.json) to mock the file activities, but that might have proved challenging in this situation.

Overall - great PR. Thanks!

For the future, we would like PRs to be signed.

@lonnieezell lonnieezell merged commit 99efaa5 into codeigniter4:develop Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants