mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-09 08:02:48 +08:00
Merge pull request #414 from top-think/analysis-q5kY3W
Apply fixes from StyleCI
This commit is contained in:
@@ -192,7 +192,7 @@ class Session
|
||||
self::delete($name, $prefix);
|
||||
return $result;
|
||||
} else {
|
||||
return null;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -102,7 +102,6 @@ class Bootstrap extends Paginator
|
||||
return $html;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 渲染分页html
|
||||
* @return mixed
|
||||
@@ -127,7 +126,6 @@ class Bootstrap extends Paginator
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 生成一个可点击的按钮
|
||||
*
|
||||
|
||||
@@ -53,7 +53,6 @@ abstract class Pipes
|
||||
*/
|
||||
abstract public function areOpen();
|
||||
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
namespace tests\thinkphp\library\think;
|
||||
|
||||
use ReflectionClass;
|
||||
use think\App;
|
||||
use think\Config;
|
||||
use think\Request;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
namespace tests\thinkphp\library\think;
|
||||
|
||||
use \think\Db;
|
||||
use think\Db;
|
||||
|
||||
class dbTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
@@ -349,5 +349,4 @@ EOF;
|
||||
$this->assertNotEquals($cache, $updateCache);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
namespace tests\thinkphp\library\think;
|
||||
|
||||
|
||||
use think\paginator\driver\Bootstrap;
|
||||
|
||||
class paginateTest extends \PHPUnit_Framework_TestCase
|
||||
@@ -38,7 +37,4 @@ class paginateTest extends \PHPUnit_Framework_TestCase
|
||||
$this->assertEquals($render, $p->render());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -19,7 +19,7 @@ namespace tests\thinkphp\library\think\tempplate\taglib;
|
||||
use think\Template;
|
||||
use think\template\taglib\Cx;
|
||||
|
||||
class templateTest extends \PHPUnit_Framework_TestCase
|
||||
class cxTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testPhp()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user