Fix php code sniffer errors

Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
This commit is contained in:
Leonardo Strozzi 2018-07-08 18:20:55 -03:00
parent e95505239d
commit 3b8746547d
2 changed files with 5 additions and 6 deletions

View File

@ -158,11 +158,11 @@ class Tracking
/**
* Function to get html for main page parts that do not use $_REQUEST
*
* @param string $urlQuery url query
* @param array $urlParams url parameters
* @param string $urlQuery url query
* @param array $urlParams url parameters
* @param string $pmaThemeImage path to theme's image folder
* @param string $textDir text direction
* @param int $lastVersion last tracking version
* @param string $textDir text direction
* @param int $lastVersion last tracking version
*
* @return string
*/

View File

@ -222,7 +222,7 @@ class TrackingTest extends TestCase
* test selectables panel
*/
$this->assertContains(
htmlspecialchars($fetchArray['db_name']).'.'.htmlspecialchars($fetchArray['table_name']),
htmlspecialchars($fetchArray['db_name']) . '.' . htmlspecialchars($fetchArray['table_name']),
$html
);
@ -302,7 +302,6 @@ class TrackingTest extends TestCase
$html
);
//restore DBI
$GLOBALS['dbi'] = $dbi_old;
}