mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 15:45:34 +02:00
[ticket/10678] Typo and formatting
PHPBB3-10678
This commit is contained in:
parent
1496a4198a
commit
29b36b214a
@ -25,7 +25,7 @@ class phpbb_database_connection_odbc_pdo_wrapper extends PDO
|
||||
function __construct($dbms, $version, $dsn, $user, $pass)
|
||||
{
|
||||
$this->driver = $dbms;
|
||||
$this->version = (double)$version;
|
||||
$this->version = (double) $version;
|
||||
|
||||
parent::__construct($dsn, $user, $pass);
|
||||
}
|
||||
|
@ -39,11 +39,11 @@ abstract class phpbb_database_test_case extends PHPUnit_Extensions_Database_Test
|
||||
$xml_data = preg_replace_callback('/(?:(<table name="))([a-z_]+)(?:(">))/', 'phpbb_database_test_case::to_upper', $xml_data);
|
||||
$xml_data = preg_replace_callback('/(?:(<column>))([a-z_]+)(?:(<\/column>))/', 'phpbb_database_test_case::to_upper', $xml_data);
|
||||
|
||||
$temp = tmpfile();
|
||||
fwrite($temp, $xml_data);
|
||||
fseek($temp, 0);
|
||||
$new_fixture = tmpfile();
|
||||
fwrite($new_fixture, $xml_data);
|
||||
fseek($new_fixture, 0);
|
||||
|
||||
$meta_data = stream_get_meta_data($temp);
|
||||
$meta_data = stream_get_meta_data($new_fixture);
|
||||
$path = $meta_data['uri'];
|
||||
}
|
||||
|
||||
@ -131,7 +131,7 @@ abstract class phpbb_database_test_case extends PHPUnit_Extensions_Database_Test
|
||||
|
||||
/**
|
||||
* Converts a match in the middle of a string to uppercase.
|
||||
* This is necessary for tranforming the fixture information for Firebird tests
|
||||
* This is necessary for transforming the fixture information for Firebird tests
|
||||
*
|
||||
* @param $matches The array of matches from a regular expression
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user