yiisoft/yii2 — pull request #1430 by egorpromo (2013-12-05 12:25:24+00:00)
Title: File can be validated without model

Any validator in Yii can be used without model. For FIleValidator it is possible too.
The returned value from validateFile() is a little odd. But there is a need to have the description of error.