mirror of
https://github.com/yiisoft/yii.git
synced 2026-02-20 01:21:22 +01:00
FIX: spaces to tabs
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user