zendframework / zend-validator

Validator component from Zend Framework
BSD 3-Clause "New" or "Revised" License
181 stars 136 forks source link

PSR-7 Uploaded File compatibility #237

Closed alextech closed 5 years ago

alextech commented 6 years ago

This patch provides changes to both the File\Upload and File\UploadFile validators to provide support for validating PSR-7 UploadedFileInterface instances.

samsonasik commented 6 years ago

@alextech please rebase against develop branch to only show your commit:

git checkout develop
git pull https://github.com/zendframework/zend-validator.git develop
git checkout feature/psr-uploadfile
git rebase develop

If you found conflict, you can fix it in the file conflicted, and run:

git add . && git rebase --continue

Lastly, force push:

git push --force origin feature/psr-uploadfile
alextech commented 6 years ago

@samsonasik Thank you for instructions! I saved them to my notes.

weierophinney commented 5 years ago

Thanks, @alextech!