Make PHPcs happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
This commit is contained in:
parent
00449976ff
commit
e1d0646fed
@ -2171,7 +2171,7 @@ class PMA_DatabaseInterface
|
||||
. " `DTD_IDENTIFIER`"
|
||||
. " FROM `information_schema`.`ROUTINES`"
|
||||
. " WHERE `ROUTINE_SCHEMA` " . PMA_Util::getCollateForIS()
|
||||
. " = '" . PMA_Util::sqlAddSlashes($db) ."'";
|
||||
. " = '" . PMA_Util::sqlAddSlashes($db) . "'";
|
||||
if (PMA_isValid($which, array('FUNCTION','PROCEDURE'))) {
|
||||
$query .= " AND `ROUTINE_TYPE` = '" . $which . "'";
|
||||
}
|
||||
@ -2266,7 +2266,7 @@ class PMA_DatabaseInterface
|
||||
. "`DATABASE_COLLATION` AS `Database Collation`"
|
||||
. " FROM `information_schema`.`EVENTS`"
|
||||
. " WHERE `EVENT_SCHEMA` " . PMA_Util::getCollateForIS()
|
||||
. " = '" . PMA_Util::sqlAddSlashes($db) ."'";
|
||||
. " = '" . PMA_Util::sqlAddSlashes($db) . "'";
|
||||
if (! empty($name)) {
|
||||
$query .= " AND `EVENT_NAME`"
|
||||
. " = '" . PMA_Util::sqlAddSlashes($name) . "'";
|
||||
|
||||
@ -655,7 +655,7 @@ function PMA_AdjustPrivileges_copyDB($oldDb, $newname)
|
||||
. PMA_Util::backquote('procs_priv') . ' VALUES("'
|
||||
. $old_priv[0] . '", "' . $newname . '", "' . $old_priv[2] . '", "'
|
||||
. $old_priv[3] . '", "' . $old_priv[4] . '", "' . $old_priv[5] . '", "'
|
||||
. $old_priv[6] . '", "' . $old_priv[7] .'");';
|
||||
. $old_priv[6] . '", "' . $old_priv[7] . '");';
|
||||
|
||||
$GLOBALS['dbi']->query($newDb_proc_privs_query);
|
||||
}
|
||||
|
||||
@ -362,7 +362,7 @@ function PMA_RTN_handleEditor()
|
||||
. PMA_Util::backquote('mysql') . '.'
|
||||
. PMA_Util::backquote('procs_priv')
|
||||
. ' VALUES("' . $priv[0] . '", "'
|
||||
. $priv[1]. '", "' . $priv[2] . '", "'
|
||||
. $priv[1] . '", "' . $priv[2] . '", "'
|
||||
. $_REQUEST['item_name'] . '", "'
|
||||
. $_REQUEST['item_type'] . '", "'
|
||||
. $priv[5] . '", "'
|
||||
|
||||
@ -52,7 +52,7 @@ class PMA_Template_Test extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testTrim()
|
||||
{
|
||||
$html = file_get_contents(PMA\Template::BASE_PATH.'test/trim.phtml');
|
||||
$html = file_get_contents(PMA\Template::BASE_PATH . 'test/trim.phtml');
|
||||
|
||||
$this->assertEquals(
|
||||
'outer <element>value</element> value',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user