You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AbstractFile class has the method checkIsUploadedFile. However if I want to mock/fake an uploaded file for in example unit testing, I have implement/override all these classes, since they all extend from it:
The AbstractFile class has the method
checkIsUploadedFile
. However if I want to mock/fake an uploaded file for in example unit testing, I have implement/override all these classes, since they all extend from it:cphalcon/phalcon/Filter/Validation/Validator/File/AbstractFile.zep
Lines 381 to 392 in 83677f1
Would be much easier if an option would be implemented like:
As an addition, it would also be nice if this validator accepted the Phalcon native
$this->request->getUploadedFiles()
instead of the PHP's$_FILES
.The text was updated successfully, but these errors were encountered: