Skip to content

Commit

Permalink
Normalize todos (yiisoft#19045)
Browse files Browse the repository at this point in the history
  • Loading branch information
arogachev authored Nov 25, 2021
1 parent 717a883 commit 4a8c72f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .php_cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

if (!class_exists('yii\cs\YiisoftConfig', true)) {
// @todo change error message
// TODO: change error message
fwrite(STDERR, "Your php-cs-version is outdated: please upgrade it.\n");
die(16);
}
Expand Down
18 changes: 9 additions & 9 deletions tests/framework/db/ActiveQueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function testTriggerInitEvent()
}

/**
* @todo: tests for internal logic of prepare()
* @todo tests for internal logic of prepare()
*/
public function testPrepare()
{
Expand All @@ -72,7 +72,7 @@ public function testPopulate_EmptyRows()
}

/**
* @todo: tests for internal logic of populate()
* @todo tests for internal logic of populate()
*/
public function testPopulate_FilledRows()
{
Expand All @@ -83,7 +83,7 @@ public function testPopulate_FilledRows()
}

/**
* @todo: tests for internal logic of one()
* @todo tests for internal logic of one()
*/
public function testOne()
{
Expand All @@ -93,7 +93,7 @@ public function testOne()
}

/**
* @todo: test internal logic of createCommand()
* @todo test internal logic of createCommand()
*/
public function testCreateCommand()
{
Expand All @@ -103,7 +103,7 @@ public function testCreateCommand()
}

/**
* @todo: tests for internal logic of queryScalar()
* @todo tests for internal logic of queryScalar()
*/
public function testQueryScalar()
{
Expand All @@ -113,7 +113,7 @@ public function testQueryScalar()
}

/**
* @todo: tests for internal logic of joinWith()
* @todo tests for internal logic of joinWith()
*/
public function testJoinWith()
{
Expand All @@ -125,7 +125,7 @@ public function testJoinWith()
}

/**
* @todo: tests for internal logic of innerJoinWith()
* @todo tests for internal logic of innerJoinWith()
*/
public function testInnerJoinWith()
{
Expand Down Expand Up @@ -157,7 +157,7 @@ public function testBuildJoinWithRemoveDuplicateJoinByTableName()
}

/**
* @todo: tests for the regex inside getQueryTableName
* @todo tests for the regex inside getQueryTableName
*/
public function testGetQueryTableName_from_not_set()
{
Expand Down Expand Up @@ -231,7 +231,7 @@ public function testOrOnCondition_on_set()
}

/**
* @todo: tests for internal logic of viaTable()
* @todo tests for internal logic of viaTable()
*/
public function testViaTable()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/framework/widgets/ActiveFieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function testRenderNoContent()
}

/**
* @todo discuss|review Expected HTML shouldn't be wrapped only by the $content?
* @todo discuss|review Expected HTML shouldn't be wrapped only by the $content?
*/
public function testRenderWithCallableContent()
{
Expand Down

0 comments on commit 4a8c72f

Please sign in to comment.