Commit d7a251bb by Alexander Makarov

Removed unused imports, added missing phpdoc

parent 9c9d11ae
...@@ -8,9 +8,7 @@ ...@@ -8,9 +8,7 @@
namespace yii\build\controllers; namespace yii\build\controllers;
use Yii; use Yii;
use yii\base\InvalidParamException;
use yii\console\Controller; use yii\console\Controller;
use yii\helpers\Console;
use yii\helpers\FileHelper; use yii\helpers\FileHelper;
/** /**
...@@ -77,6 +75,12 @@ class AppController extends Controller ...@@ -77,6 +75,12 @@ class AppController extends Controller
$this->stdout("done.\n"); $this->stdout("done.\n");
} }
/**
* Finds linkable applications
*
* @param string $dir directory to search in
* @return array list of applications command can link
*/
protected function findDirs($dir) protected function findDirs($dir)
{ {
$list = []; $list = [];
......
...@@ -11,7 +11,6 @@ namespace yii\apidoc\helpers; ...@@ -11,7 +11,6 @@ namespace yii\apidoc\helpers;
use cebe\jssearch\Indexer; use cebe\jssearch\Indexer;
use cebe\jssearch\tokenizer\StandardTokenizer; use cebe\jssearch\tokenizer\StandardTokenizer;
use cebe\jssearch\TokenizerInterface; use cebe\jssearch\TokenizerInterface;
use yii\helpers\StringHelper;
class ApiIndexer extends Indexer class ApiIndexer extends Indexer
{ {
......
...@@ -9,7 +9,6 @@ namespace yii\apidoc\helpers; ...@@ -9,7 +9,6 @@ namespace yii\apidoc\helpers;
use cebe\markdown\GithubMarkdown; use cebe\markdown\GithubMarkdown;
use phpDocumentor\Reflection\DocBlock\Type\Collection; use phpDocumentor\Reflection\DocBlock\Type\Collection;
use yii\apidoc\models\MethodDoc;
use yii\apidoc\models\TypeDoc; use yii\apidoc\models\TypeDoc;
use yii\apidoc\renderers\BaseRenderer; use yii\apidoc\renderers\BaseRenderer;
use yii\helpers\Inflector; use yii\helpers\Inflector;
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
namespace yii\apidoc\helpers; namespace yii\apidoc\helpers;
use cebe\markdown\GithubMarkdown;
use phpDocumentor\Reflection\DocBlock\Type\Collection; use phpDocumentor\Reflection\DocBlock\Type\Collection;
use yii\apidoc\models\MethodDoc; use yii\apidoc\models\MethodDoc;
use yii\apidoc\models\TypeDoc; use yii\apidoc\models\TypeDoc;
......
...@@ -9,11 +9,9 @@ namespace yii\apidoc\templates\pdf; ...@@ -9,11 +9,9 @@ namespace yii\apidoc\templates\pdf;
use cebe\markdown\latex\GithubMarkdown; use cebe\markdown\latex\GithubMarkdown;
use Yii; use Yii;
use yii\apidoc\helpers\ApiIndexer;
use yii\apidoc\helpers\ApiMarkdownLaTeX; use yii\apidoc\helpers\ApiMarkdownLaTeX;
use yii\apidoc\helpers\IndexFileAnalyzer; use yii\apidoc\helpers\IndexFileAnalyzer;
use yii\helpers\Console; use yii\helpers\Console;
use yii\helpers\FileHelper;
/** /**
* *
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
namespace yii\elasticsearch; namespace yii\elasticsearch;
use yii\base\NotSupportedException;
use yii\db\ActiveQueryInterface; use yii\db\ActiveQueryInterface;
use yii\db\ActiveQueryTrait; use yii\db\ActiveQueryTrait;
use yii\db\ActiveRelationTrait; use yii\db\ActiveRelationTrait;
......
...@@ -10,7 +10,6 @@ namespace yii\console\controllers; ...@@ -10,7 +10,6 @@ namespace yii\console\controllers;
use Yii; use Yii;
use yii\console\Exception; use yii\console\Exception;
use yii\console\Controller; use yii\console\Controller;
use yii\helpers\StringHelper;
use yii\helpers\VarDumper; use yii\helpers\VarDumper;
/** /**
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
namespace yii\helpers; namespace yii\helpers;
use yii\base\Arrayable;
/** /**
* BaseVarDumper provides concrete implementation for [[VarDumper]]. * BaseVarDumper provides concrete implementation for [[VarDumper]].
* *
......
...@@ -9,7 +9,6 @@ namespace yii\rest; ...@@ -9,7 +9,6 @@ namespace yii\rest;
use Yii; use Yii;
use yii\base\Model; use yii\base\Model;
use yii\db\ActiveRecord;
use yii\helpers\Url; use yii\helpers\Url;
/** /**
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
namespace yii\rest; namespace yii\rest;
use Yii; use Yii;
use yii\db\ActiveRecord;
/** /**
* DeleteAction implements the API endpoint for deleting a model. * DeleteAction implements the API endpoint for deleting a model.
......
<?php <?php
namespace yiiunit\framework\helpers; namespace yiiunit\framework\helpers;
use yii\data\ArrayDataProvider;
use yii\helpers\VarDumper; use yii\helpers\VarDumper;
use yiiunit\TestCase; use yiiunit\TestCase;
......
...@@ -4,7 +4,6 @@ namespace yiiunit\framework\rbac; ...@@ -4,7 +4,6 @@ namespace yiiunit\framework\rbac;
use Yii; use Yii;
use yii\console\Application; use yii\console\Application;
use yii\console\Controller; use yii\console\Controller;
use yii\console\controllers\MigrateController;
use yii\db\Connection; use yii\db\Connection;
use yii\rbac\DbManager; use yii\rbac\DbManager;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment