Commit Graph

9 Commits

Author SHA1 Message Date
Carsten Brandt
d786b78f25 Helper independent (#14050)
* Made sure most helpers are independent of Yii::$app

* Made sure most validators are independent of Yii::$app
2017-04-26 09:49:44 +02:00
Alexander Makarov
3f8e8a89eb Used more specific unit test assertions in framework tests 2017-03-14 09:45:31 +03:00
Klimov Paul
d4ac47abe7 Added yii\validators\EachValidator::$stopOnFirstError allowing addition of more than one error 2017-01-13 17:59:10 +02:00
Sergey Smirnov
1ed6fc09f6 #10825 Fixed EachValidator does not respect skipOnEmpty when using model (#11507) 2016-05-11 14:11:32 +02:00
Klimov Paul
2d5a0bf5ae EachValidator::validateAttribute() fixed to restore original value on error 2016-04-12 12:00:33 +03:00
Klimov Paul
205f16811a Fixed yii\validators\EachValidator does not invoke validateAttribute() method of the embedded validator 2016-04-12 11:14:57 +03:00
SilverFire - Dmitry Naumenko
a0e614eb20 yii\validators\EachValidator injects specific attribute value in error message parameters
Closes #11139
2016-03-20 16:34:42 +02:00
Klimov Paul
d22a3a0a07 Fixed yii\validators\EachValidator does not respect skipOnEmpty rule parameter 2016-02-12 13:33:36 +02:00
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00