You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-29 21:24:44 +03:00
improve coding style : fix indentation and function calls
This commit is contained in:
@@ -100,7 +100,7 @@ class PMA_DBQbe_test extends PHPUnit_Framework_TestCase
|
||||
'_getSortRow',
|
||||
array()
|
||||
)
|
||||
);
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -71,10 +71,12 @@ class PMA_Error_Handler_test extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testHandleError($errno, $errstr, $errfile, $errline, $output)
|
||||
{
|
||||
|
||||
$GLOBALS['cfg']['Error_Handler']['gather'] = true;
|
||||
|
||||
$this->assertEquals( $output, $this->object->handleError($errno, $errstr, $errfile, $errline));
|
||||
$this->assertEquals(
|
||||
$output,
|
||||
$this->object->handleError($errno, $errstr, $errfile, $errline)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -289,7 +289,7 @@ background: -o-linear-gradient(top, #12345, #54321);'
|
||||
{
|
||||
$this->assertEquals(
|
||||
$this->object->getCssCodeMirror(),
|
||||
'span.cm-keyword, span.cm-statement-verb {
|
||||
'span.cm-keyword, span.cm-statement-verb {
|
||||
color: #909;
|
||||
}
|
||||
span.cm-variable {
|
||||
|
||||
@@ -272,9 +272,7 @@ class PMA_StorageEngine_innodb_test extends PHPUnit_Framework_TestCase
|
||||
public function testGetPageStatus()
|
||||
{
|
||||
$this->assertEquals(
|
||||
'<pre id="pre_innodb_status">' . "\n"
|
||||
. "\n"
|
||||
. '</pre>' . "\n",
|
||||
'<pre id="pre_innodb_status">' . "\n" . "\n" . '</pre>' . "\n",
|
||||
$this->object->getPageStatus()
|
||||
);
|
||||
|
||||
@@ -290,9 +288,7 @@ class PMA_StorageEngine_innodb_test extends PHPUnit_Framework_TestCase
|
||||
);
|
||||
$this->object->support = 2;
|
||||
$this->assertEquals(
|
||||
'<pre id="pre_innodb_status">' . "\n"
|
||||
. "\n"
|
||||
. '</pre>' . "\n",
|
||||
'<pre id="pre_innodb_status">' . "\n" . "\n" . '</pre>' . "\n",
|
||||
$this->object->getPage('Status')
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user