Commit 2a9e9943 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Fix whitespace/indention problems

parent c878bd03
...@@ -52,7 +52,7 @@ class SQLServer2008Platform extends SQLServer2005Platform ...@@ -52,7 +52,7 @@ class SQLServer2008Platform extends SQLServer2005Platform
{ {
return 'TIME(0)'; return 'TIME(0)';
} }
/** /**
* @override * @override
*/ */
...@@ -60,7 +60,7 @@ class SQLServer2008Platform extends SQLServer2005Platform ...@@ -60,7 +60,7 @@ class SQLServer2008Platform extends SQLServer2005Platform
{ {
return 'Y-m-d H:i:s.u'; return 'Y-m-d H:i:s.u';
} }
/** /**
* @override * @override
*/ */
...@@ -84,7 +84,7 @@ class SQLServer2008Platform extends SQLServer2005Platform ...@@ -84,7 +84,7 @@ class SQLServer2008Platform extends SQLServer2005Platform
{ {
parent::initializeDoctrineTypeMappings(); parent::initializeDoctrineTypeMappings();
$this->doctrineTypeMapping['datetime2'] = 'datetime'; $this->doctrineTypeMapping['datetime2'] = 'datetime';
$this->doctrineTypeMapping['date'] = 'date'; $this->doctrineTypeMapping['date'] = 'date';
$this->doctrineTypeMapping['time'] = 'time'; $this->doctrineTypeMapping['time'] = 'time';
} }
} }
...@@ -712,10 +712,10 @@ class SQLServerPlatform extends AbstractPlatform ...@@ -712,10 +712,10 @@ class SQLServerPlatform extends AbstractPlatform
{ {
return 'Y-m-d H:i:s.000'; return 'Y-m-d H:i:s.000';
} }
/** /**
* @override * @override
*/ */
public function getDateFormatString() public function getDateFormatString()
{ {
return 'Y-m-d H:i:s.000'; return 'Y-m-d H:i:s.000';
...@@ -723,7 +723,7 @@ class SQLServerPlatform extends AbstractPlatform ...@@ -723,7 +723,7 @@ class SQLServerPlatform extends AbstractPlatform
/** /**
* @override * @override
*/ */
public function getTimeFormatString() public function getTimeFormatString()
{ {
return 'Y-m-d H:i:s.000'; return 'Y-m-d H:i:s.000';
......
...@@ -16,21 +16,21 @@ class SchemaManagerFunctionalTestCase extends \Doctrine\Tests\DbalFunctionalTest ...@@ -16,21 +16,21 @@ class SchemaManagerFunctionalTestCase extends \Doctrine\Tests\DbalFunctionalTest
* @var \Doctrine\DBAL\Schema\AbstractSchemaManager * @var \Doctrine\DBAL\Schema\AbstractSchemaManager
*/ */
protected $_sm; protected $_sm;
protected function getPlatformName() protected function getPlatformName()
{ {
$class = get_class($this); $class = get_class($this);
$e = explode('\\', $class); $e = explode('\\', $class);
$testClass = end($e); $testClass = end($e);
$dbms = strtolower(str_replace('SchemaManagerTest', null, $testClass)); $dbms = strtolower(str_replace('SchemaManagerTest', null, $testClass));
return $dbms; return $dbms;
} }
protected function setUp() protected function setUp()
{ {
parent::setUp(); parent::setUp();
$dbms = $this->getPlatformName(); $dbms = $this->getPlatformName();
if ($this->_conn->getDatabasePlatform()->getName() !== $dbms) { if ($this->_conn->getDatabasePlatform()->getName() !== $dbms) {
$this->markTestSkipped(get_class($this) . ' requires the use of ' . $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