mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-01 15:07:49 +08:00
Ignoring javascript generating methods in coverage for now.
This commit is contained in:
@@ -82,6 +82,7 @@ class BooleanValidator extends Validator
|
||||
* @param \yii\base\View $view the view object that is going to be used to render views or view files
|
||||
* containing a model form with this validator applied.
|
||||
* @return string the client-side validation script.
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function clientValidateAttribute($object, $attribute, $view)
|
||||
{
|
||||
|
||||
@@ -97,6 +97,7 @@ class CaptchaValidator extends Validator
|
||||
* @param \yii\base\View $view the view object that is going to be used to render views or view files
|
||||
* containing a model form with this validator applied.
|
||||
* @return string the client-side validation script.
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function clientValidateAttribute($object, $attribute, $view)
|
||||
{
|
||||
|
||||
@@ -181,6 +181,7 @@ class CompareValidator extends Validator
|
||||
* @param \yii\base\View $view the view object that is going to be used to render views or view files
|
||||
* containing a model form with this validator applied.
|
||||
* @throws InvalidConfigException if CompareValidator::operator is invalid
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function clientValidateAttribute($object, $attribute, $view)
|
||||
{
|
||||
|
||||
@@ -122,6 +122,7 @@ class EmailValidator extends Validator
|
||||
* @param \yii\base\View $view the view object that is going to be used to render views or view files
|
||||
* containing a model form with this validator applied.
|
||||
* @return string the client-side validation script.
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function clientValidateAttribute($object, $attribute, $view)
|
||||
{
|
||||
|
||||
@@ -117,6 +117,7 @@ class NumberValidator extends Validator
|
||||
* @param \yii\base\View $view the view object that is going to be used to render views or view files
|
||||
* containing a model form with this validator applied.
|
||||
* @return string the client-side validation script.
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function clientValidateAttribute($object, $attribute, $view)
|
||||
{
|
||||
|
||||
@@ -84,6 +84,7 @@ class RangeValidator extends Validator
|
||||
* @param \yii\base\View $view the view object that is going to be used to render views or view files
|
||||
* containing a model form with this validator applied.
|
||||
* @return string the client-side validation script.
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function clientValidateAttribute($object, $attribute, $view)
|
||||
{
|
||||
|
||||
@@ -83,6 +83,7 @@ class RegularExpressionValidator extends Validator
|
||||
* containing a model form with this validator applied.
|
||||
* @return string the client-side validation script.
|
||||
* @throws InvalidConfigException if the "pattern" is not a valid regular expression
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function clientValidateAttribute($object, $attribute, $view)
|
||||
{
|
||||
|
||||
@@ -105,6 +105,7 @@ class RequiredValidator extends Validator
|
||||
* @param \yii\base\View $view the view object that is going to be used to render views or view files
|
||||
* containing a model form with this validator applied.
|
||||
* @return string the client-side validation script.
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function clientValidateAttribute($object, $attribute, $view)
|
||||
{
|
||||
|
||||
@@ -129,6 +129,7 @@ class StringValidator extends Validator
|
||||
* @param \yii\base\View $view the view object that is going to be used to render views or view files
|
||||
* containing a model form with this validator applied.
|
||||
* @return string the client-side validation script.
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function clientValidateAttribute($object, $attribute, $view)
|
||||
{
|
||||
|
||||
@@ -121,6 +121,7 @@ class UrlValidator extends Validator
|
||||
* containing a model form with this validator applied.
|
||||
* @return string the client-side validation script.
|
||||
* @see \yii\Web\ActiveForm::enableClientValidation
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function clientValidateAttribute($object, $attribute, $view)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user