Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
6ebdc45f
Commit
6ebdc45f
authored
Jan 16, 2012
by
Benjamin Eberlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix whitespace/indention problems
parent
4dd96a7d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
SQLServer2008Platform.php
lib/Doctrine/DBAL/Platforms/SQLServer2008Platform.php
+4
-4
SQLServerPlatform.php
lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php
+3
-3
SchemaManagerFunctionalTestCase.php
...BAL/Functional/Schema/SchemaManagerFunctionalTestCase.php
+4
-4
No files found.
lib/Doctrine/DBAL/Platforms/SQLServer2008Platform.php
View file @
6ebdc45f
...
...
@@ -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'
;
}
}
lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php
View file @
6ebdc45f
...
...
@@ -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'
;
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php
View file @
6ebdc45f
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment