You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-28 07:41:55 +03:00
Fix codestyle
This commit is contained in:
@@ -20,7 +20,7 @@ require_once './setup/lib/ConfigGenerator.class.php';
|
||||
$config_readable = false;
|
||||
$config_writable = false;
|
||||
$config_exists = false;
|
||||
check_config_rw($config_readable, $config_writable, $config_exists);
|
||||
PMA_checkConfigRw($config_readable, $config_writable, $config_exists);
|
||||
echo '<h2>' . __('Configuration file') . '</h2>';
|
||||
|
||||
PMA_displayFormTop('config.php');
|
||||
|
||||
@@ -45,7 +45,7 @@ perform_config_checks();
|
||||
$config_readable = false;
|
||||
$config_writable = false;
|
||||
$config_exists = false;
|
||||
check_config_rw($config_readable, $config_writable, $config_exists);
|
||||
PMA_checkConfigRw($config_readable, $config_writable, $config_exists);
|
||||
if (!$config_writable || !$config_readable) {
|
||||
PMA_messagesSet(
|
||||
'error', 'config_rw', __('Cannot load or save configuration'),
|
||||
|
||||
@@ -182,7 +182,7 @@ function PMA_versionCheck()
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function check_config_rw(&$is_readable, &$is_writable, &$file_exists)
|
||||
function PMA_checkConfigRw(&$is_readable, &$is_writable, &$file_exists)
|
||||
{
|
||||
$file_path = ConfigFile::getInstance()->getFilePath();
|
||||
$file_dir = dirname($file_path);
|
||||
|
||||
@@ -306,11 +306,11 @@ class PMA_SetupIndex_Test extends PHPUnit_Framework_TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for check_config_rw
|
||||
* Test for PMA_checkConfigRw
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testCheckConfigRW()
|
||||
public function testPMACheckConfigRw()
|
||||
{
|
||||
if (! PMA_HAS_RUNKIT) {
|
||||
$this->markTestSkipped('Cannot redefine constant');
|
||||
@@ -331,7 +331,7 @@ class PMA_SetupIndex_Test extends PHPUnit_Framework_TestCase
|
||||
$is_writable = false;
|
||||
$file_exists = false;
|
||||
|
||||
check_config_rw($is_readable, $is_writable, $file_exists);
|
||||
PMA_checkConfigRw($is_readable, $is_writable, $file_exists);
|
||||
|
||||
$this->assertTrue(
|
||||
$is_readable
|
||||
@@ -350,7 +350,7 @@ class PMA_SetupIndex_Test extends PHPUnit_Framework_TestCase
|
||||
'test/test_data/test.file'
|
||||
);
|
||||
|
||||
check_config_rw($is_readable, $is_writable, $file_exists);
|
||||
PMA_checkConfigRw($is_readable, $is_writable, $file_exists);
|
||||
|
||||
$this->assertTrue(
|
||||
$is_readable
|
||||
|
||||
Reference in New Issue
Block a user