FIX: spaces to tabs

This commit is contained in:
Tommy
2022-12-22 15:37:35 +01:00
parent 6c751eb6c6
commit 773f4ae5e1
2 changed files with 14 additions and 14 deletions

View File

@@ -178,7 +178,7 @@ class CHtmlTest extends CTestCase
);
}
/**
/**
* @dataProvider providerCloseTag
*
* @param string $tag
@@ -402,11 +402,11 @@ class CHtmlTest extends CTestCase
array('async'=>true),
"<script type=\"text/javascript\" async=\"async\">\n/*<![CDATA[*/\nvar a = 10;\n/*]]>*/\n</script>"
),
array(
'var a = 10;',
array('async'=>false),
"<script type=\"text/javascript\" async=\"false\">\n/*<![CDATA[*/\nvar a = 10;\n/*]]>*/\n</script>"
),
array(
'var a = 10;',
array('async'=>false),
"<script type=\"text/javascript\" async=\"false\">\n/*<![CDATA[*/\nvar a = 10;\n/*]]>*/\n</script>"
),
);
}
@@ -644,12 +644,12 @@ class CHtmlTest extends CTestCase
array(array('v1'),0,'defaultValue','v1'),
array(array('v1'),0.0,'defaultValue','v1'),
// Test $model as an array, with null as a key, see: https://github.com/yiisoft/yii/pull/4503#discussion_r1054516859
array(array(null=>'v1','k2'=>'v2'),null,'defaultValue','v1'),
array(array(null=>'v1','k2'=>'v2'),'','defaultValue','v1'),
array(array(''=>'v1','k2'=>'v2'),null,'defaultValue','v1'),
array(array(''=>'v1','k2'=>'v2'),'','defaultValue','v1'),
array(array(null=>'v1','k2'=>'v2'),'k2','defaultValue','v2'),
// Test $model as an array, with null as a key, see: https://github.com/yiisoft/yii/pull/4503#discussion_r1054516859
array(array(null=>'v1','k2'=>'v2'),null,'defaultValue','v1'),
array(array(null=>'v1','k2'=>'v2'),'','defaultValue','v1'),
array(array(''=>'v1','k2'=>'v2'),null,'defaultValue','v1'),
array(array(''=>'v1','k2'=>'v2'),'','defaultValue','v1'),
array(array(null=>'v1','k2'=>'v2'),'k2','defaultValue','v2'),
);
// create_function is not supported by CHtml::value(), we're just testing this feature/property
@@ -1175,7 +1175,7 @@ class CHtmlTestModel extends CModel
*/
public $attr4;
/**
/**
* Returns the list of attribute names.
* @return array list of attribute names. Defaults to all public properties of the class.
*/