Skip to content

Commit 4a8c72f

Browse files
authored
Normalize todos (yiisoft#19045)
1 parent 717a883 commit 4a8c72f

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.php_cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
if (!class_exists('yii\cs\YiisoftConfig', true)) {
4-
// @todo change error message
4+
// TODO: change error message
55
fwrite(STDERR, "Your php-cs-version is outdated: please upgrade it.\n");
66
die(16);
77
}

tests/framework/db/ActiveQueryTest.php

+9-9
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function testTriggerInitEvent()
5353
}
5454

5555
/**
56-
* @todo: tests for internal logic of prepare()
56+
* @todo tests for internal logic of prepare()
5757
*/
5858
public function testPrepare()
5959
{
@@ -72,7 +72,7 @@ public function testPopulate_EmptyRows()
7272
}
7373

7474
/**
75-
* @todo: tests for internal logic of populate()
75+
* @todo tests for internal logic of populate()
7676
*/
7777
public function testPopulate_FilledRows()
7878
{
@@ -83,7 +83,7 @@ public function testPopulate_FilledRows()
8383
}
8484

8585
/**
86-
* @todo: tests for internal logic of one()
86+
* @todo tests for internal logic of one()
8787
*/
8888
public function testOne()
8989
{
@@ -93,7 +93,7 @@ public function testOne()
9393
}
9494

9595
/**
96-
* @todo: test internal logic of createCommand()
96+
* @todo test internal logic of createCommand()
9797
*/
9898
public function testCreateCommand()
9999
{
@@ -103,7 +103,7 @@ public function testCreateCommand()
103103
}
104104

105105
/**
106-
* @todo: tests for internal logic of queryScalar()
106+
* @todo tests for internal logic of queryScalar()
107107
*/
108108
public function testQueryScalar()
109109
{
@@ -113,7 +113,7 @@ public function testQueryScalar()
113113
}
114114

115115
/**
116-
* @todo: tests for internal logic of joinWith()
116+
* @todo tests for internal logic of joinWith()
117117
*/
118118
public function testJoinWith()
119119
{
@@ -125,7 +125,7 @@ public function testJoinWith()
125125
}
126126

127127
/**
128-
* @todo: tests for internal logic of innerJoinWith()
128+
* @todo tests for internal logic of innerJoinWith()
129129
*/
130130
public function testInnerJoinWith()
131131
{
@@ -157,7 +157,7 @@ public function testBuildJoinWithRemoveDuplicateJoinByTableName()
157157
}
158158

159159
/**
160-
* @todo: tests for the regex inside getQueryTableName
160+
* @todo tests for the regex inside getQueryTableName
161161
*/
162162
public function testGetQueryTableName_from_not_set()
163163
{
@@ -231,7 +231,7 @@ public function testOrOnCondition_on_set()
231231
}
232232

233233
/**
234-
* @todo: tests for internal logic of viaTable()
234+
* @todo tests for internal logic of viaTable()
235235
*/
236236
public function testViaTable()
237237
{

tests/framework/widgets/ActiveFieldTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function testRenderNoContent()
7878
}
7979

8080
/**
81-
* @todo discuss|review Expected HTML shouldn't be wrapped only by the $content?
81+
* @todo discuss|review Expected HTML shouldn't be wrapped only by the $content?
8282
*/
8383
public function testRenderWithCallableContent()
8484
{

0 commit comments

Comments
 (0)