diff --git a/js/ajax.js b/js/ajax.js index a4d0cc09d9..4b342fc14f 100644 --- a/js/ajax.js +++ b/js/ajax.js @@ -390,12 +390,13 @@ var AJAX = { .not('#pma_console_container') .not('#prefs_autoload') .remove(); + var $page_content = $('#page_content'); // Replace #page_content with new content if (data.message && data.message.length > 0) { - $('#page_content').replaceWith( + $page_content.replaceWith( "
object->setPageNumber(33); $this->assertEquals( diff --git a/test/classes/schema/Export_Relation_Schema_test.php b/test/classes/schema/Export_Relation_Schema_test.php index 573e345c4b..89f956109b 100644 --- a/test/classes/schema/Export_Relation_Schema_test.php +++ b/test/classes/schema/Export_Relation_Schema_test.php @@ -59,7 +59,7 @@ class PMA_Export_Relation_Schema_Test extends PHPUnit_Framework_TestCase * * @group medium */ - public function testSetPageNumbere() + public function testSetPageNumber() { $this->object->setPageNumber(33); $this->assertEquals( diff --git a/test/libraries/PMA_mult_submits_test.php b/test/libraries/PMA_mult_submits_test.php index 0691c9c301..7f6e34f7d8 100644 --- a/test/libraries/PMA_mult_submits_test.php +++ b/test/libraries/PMA_mult_submits_test.php @@ -63,11 +63,9 @@ class PMA_MultSubmits_Test extends PHPUnit_Framework_TestCase 'table_info' => 'table_info', 'relwork' => 'relwork', 'commwork' => 'commwork', - 'displaywork' => 'displaywork', 'pdfwork' => 'pdfwork', 'column_info' => 'column_info', 'relation' => 'relation', - 'relwork' => 'relwork', ); //$_SESSION diff --git a/test/libraries/core/PMA_fatalError_test.php b/test/libraries/core/PMA_fatalError_test.php index 8233b68536..7ab7c893ac 100644 --- a/test/libraries/core/PMA_fatalError_test.php +++ b/test/libraries/core/PMA_fatalError_test.php @@ -79,10 +79,7 @@ class PMA_FatalError_Test extends PHPUnit_Framework_TestCase $message = "Fatal error #%d in file %s."; $params = array(1, 'error_file.php'); - $this->expectOutputRegex( - "/Fatal error #1 in file error_file.php./", - "Not EQ" - ); + $this->expectOutputRegex("/Fatal error #1 in file error_file.php./"); PMA_fatalError($message, $params); $message = "Fatal error in file %s."; diff --git a/test/selenium/TestBase.php b/test/selenium/TestBase.php index 090d35e1cf..a60cd09dad 100644 --- a/test/selenium/TestBase.php +++ b/test/selenium/TestBase.php @@ -512,7 +512,7 @@ abstract class PMA_SeleniumBase extends PHPUnit_Extensions_Selenium2TestCase * Wrapper around alertText method to not use it on not supported * browsers. * - * @return void + * @return mixed */ public function alertText() { diff --git a/themes/original/css/printview.css b/themes/original/css/printview.css index 0b4d69de14..5ee47195e2 100644 --- a/themes/original/css/printview.css +++ b/themes/original/css/printview.css @@ -57,7 +57,6 @@ font-weight: bold; background-color: #e5e5e5; border: .1em solid #000; - border-right: .1em solid #000; } th.vtop, td.vtop { diff --git a/themes/original/info.inc.php b/themes/original/info.inc.php index 28866d6bf3..ce2287a0f8 100644 --- a/themes/original/info.inc.php +++ b/themes/original/info.inc.php @@ -12,4 +12,3 @@ */ $theme_name = 'Original'; $theme_full_version = '2.9'; -?> diff --git a/themes/original/layout.inc.php b/themes/original/layout.inc.php index c1a9f2be01..cfa1dc0f48 100644 --- a/themes/original/layout.inc.php +++ b/themes/original/layout.inc.php @@ -74,5 +74,3 @@ $GLOBALS['cfg']['ThColor'] = '#000000'; $GLOBALS['cfg']['BgOne'] = '#E5E5E5'; // table data row background, alternate $GLOBALS['cfg']['BgTwo'] = '#D5D5D5'; - -?> diff --git a/themes/original/sprites.lib.php b/themes/original/sprites.lib.php index c671693060..dc93fd3e6d 100644 --- a/themes/original/sprites.lib.php +++ b/themes/original/sprites.lib.php @@ -717,4 +717,3 @@ function PMA_sprites() ), ); } -?> diff --git a/themes/pmahomme/css/printview.css b/themes/pmahomme/css/printview.css index 0b4d69de14..5ee47195e2 100644 --- a/themes/pmahomme/css/printview.css +++ b/themes/pmahomme/css/printview.css @@ -57,7 +57,6 @@ font-weight: bold; background-color: #e5e5e5; border: .1em solid #000; - border-right: .1em solid #000; } th.vtop, td.vtop { diff --git a/themes/pmahomme/info.inc.php b/themes/pmahomme/info.inc.php index 0c32532d17..cd47da6d19 100644 --- a/themes/pmahomme/info.inc.php +++ b/themes/pmahomme/info.inc.php @@ -18,4 +18,3 @@ $theme_name = 'pmahomme'; $theme_full_version = '1.1'; -?> diff --git a/themes/pmahomme/layout.inc.php b/themes/pmahomme/layout.inc.php index e43eb87164..ccb8c1194d 100644 --- a/themes/pmahomme/layout.inc.php +++ b/themes/pmahomme/layout.inc.php @@ -75,5 +75,3 @@ $GLOBALS['cfg']['ThColor'] = '#000'; $GLOBALS['cfg']['BgOne'] = '#E5E5E5'; // table data row background, alternate $GLOBALS['cfg']['BgTwo'] = '#D5D5D5'; - -?> diff --git a/themes/pmahomme/sprites.lib.php b/themes/pmahomme/sprites.lib.php index 9220a9ecfa..8e828d98b8 100644 --- a/themes/pmahomme/sprites.lib.php +++ b/themes/pmahomme/sprites.lib.php @@ -802,4 +802,3 @@ function PMA_sprites() ), ); } -?>