Commit 6ebdc45f authored by Benjamin Eberlei's avatar Benjamin Eberlei

Fix whitespace/indention problems

parent 4dd96a7d
......@@ -52,7 +52,7 @@ class SQLServer2008Platform extends SQLServer2005Platform
{
return 'TIME(0)';
}
/**
* @override
*/
......@@ -60,7 +60,7 @@ class SQLServer2008Platform extends SQLServer2005Platform
{
return 'Y-m-d H:i:s.u';
}
/**
* @override
*/
......@@ -84,7 +84,7 @@ class SQLServer2008Platform extends SQLServer2005Platform
{
parent::initializeDoctrineTypeMappings();
$this->doctrineTypeMapping['datetime2'] = 'datetime';
$this->doctrineTypeMapping['date'] = 'date';
$this->doctrineTypeMapping['time'] = 'time';
$this->doctrineTypeMapping['date'] = 'date';
$this->doctrineTypeMapping['time'] = 'time';
}
}
......@@ -712,10 +712,10 @@ class SQLServerPlatform extends AbstractPlatform
{
return 'Y-m-d H:i:s.000';
}
/**
* @override
*/
*/
public function getDateFormatString()
{
return 'Y-m-d H:i:s.000';
......@@ -723,7 +723,7 @@ class SQLServerPlatform extends AbstractPlatform
/**
* @override
*/
*/
public function getTimeFormatString()
{
return 'Y-m-d H:i:s.000';
......
......@@ -16,21 +16,21 @@ class SchemaManagerFunctionalTestCase extends \Doctrine\Tests\DbalFunctionalTest
* @var \Doctrine\DBAL\Schema\AbstractSchemaManager
*/
protected $_sm;
protected function getPlatformName()
{
$class = get_class($this);
$e = explode('\\', $class);
$testClass = end($e);
$dbms = strtolower(str_replace('SchemaManagerTest', null, $testClass));
return $dbms;
return $dbms;
}
protected function setUp()
{
parent::setUp();
$dbms = $this->getPlatformName();
$dbms = $this->getPlatformName();
if ($this->_conn->getDatabasePlatform()->getName() !== $dbms) {
$this->markTestSkipped(get_class($this) . ' requires the use of ' . $dbms);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment