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
50ddb041
Unverified
Commit
50ddb041
authored
Jul 19, 2017
by
Luís Cobucci
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use ::class syntax instead of plain strings
parent
5c5966aa
Changes
18
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
31 additions
and
31 deletions
+31
-31
DB2Platform.php
lib/Doctrine/DBAL/Platforms/DB2Platform.php
+1
-1
DrizzlePlatform.php
lib/Doctrine/DBAL/Platforms/DrizzlePlatform.php
+2
-2
MySQL57Platform.php
lib/Doctrine/DBAL/Platforms/MySQL57Platform.php
+1
-1
MySqlPlatform.php
lib/Doctrine/DBAL/Platforms/MySqlPlatform.php
+4
-4
OraclePlatform.php
lib/Doctrine/DBAL/Platforms/OraclePlatform.php
+2
-2
PostgreSQL91Platform.php
lib/Doctrine/DBAL/Platforms/PostgreSQL91Platform.php
+1
-1
PostgreSQL92Platform.php
lib/Doctrine/DBAL/Platforms/PostgreSQL92Platform.php
+1
-1
PostgreSQL94Platform.php
lib/Doctrine/DBAL/Platforms/PostgreSQL94Platform.php
+1
-1
PostgreSqlPlatform.php
lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php
+1
-1
SQLAnywhere11Platform.php
lib/Doctrine/DBAL/Platforms/SQLAnywhere11Platform.php
+1
-1
SQLAnywhere12Platform.php
lib/Doctrine/DBAL/Platforms/SQLAnywhere12Platform.php
+1
-1
SQLAnywhere16Platform.php
lib/Doctrine/DBAL/Platforms/SQLAnywhere16Platform.php
+1
-1
SQLAnywherePlatform.php
lib/Doctrine/DBAL/Platforms/SQLAnywherePlatform.php
+2
-2
SQLServer2005Platform.php
lib/Doctrine/DBAL/Platforms/SQLServer2005Platform.php
+1
-1
SQLServer2008Platform.php
lib/Doctrine/DBAL/Platforms/SQLServer2008Platform.php
+1
-1
SQLServer2012Platform.php
lib/Doctrine/DBAL/Platforms/SQLServer2012Platform.php
+2
-2
SQLServerPlatform.php
lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php
+3
-3
SqlitePlatform.php
lib/Doctrine/DBAL/Platforms/SqlitePlatform.php
+5
-5
No files found.
lib/Doctrine/DBAL/Platforms/DB2Platform.php
View file @
50ddb041
...
...
@@ -876,6 +876,6 @@ class DB2Platform extends AbstractPlatform
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\DB2Keywords'
;
return
Keywords\DB2Keywords
::
class
;
}
}
lib/Doctrine/DBAL/Platforms/DrizzlePlatform.php
View file @
50ddb041
...
...
@@ -20,9 +20,9 @@
namespace
Doctrine\DBAL\Platforms
;
use
Doctrine\DBAL\Schema\Identifier
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\Schema\Index
;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\Types\BinaryType
;
/**
...
...
@@ -314,7 +314,7 @@ class DrizzlePlatform extends AbstractPlatform
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\DrizzleKeywords'
;
return
Keywords\DrizzleKeywords
::
class
;
}
/**
...
...
lib/Doctrine/DBAL/Platforms/MySQL57Platform.php
View file @
50ddb041
...
...
@@ -79,7 +79,7 @@ class MySQL57Platform extends MySqlPlatform
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\MySQL57Keywords'
;
return
Keywords\MySQL57Keywords
::
class
;
}
/**
...
...
lib/Doctrine/DBAL/Platforms/MySqlPlatform.php
View file @
50ddb041
...
...
@@ -19,13 +19,13 @@
namespace
Doctrine\DBAL\Platforms
;
use
Doctrine\DBAL\Connection
;
use
Doctrine\DBAL\Schema\Identifier
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\Schema\Index
;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\Types\BlobType
;
use
Doctrine\DBAL\Types\TextType
;
use
Doctrine\DBAL\Connection
;
/**
* The MySqlPlatform provides the behavior, features and SQL dialect of the
...
...
@@ -1070,7 +1070,7 @@ class MySqlPlatform extends AbstractPlatform
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\MySQLKeywords'
;
return
Keywords\MySQLKeywords
::
class
;
}
/**
...
...
lib/Doctrine/DBAL/Platforms/OraclePlatform.php
View file @
50ddb041
...
...
@@ -19,13 +19,13 @@
namespace
Doctrine\DBAL\Platforms
;
use
Doctrine\DBAL\DBALException
;
use
Doctrine\DBAL\Schema\ForeignKeyConstraint
;
use
Doctrine\DBAL\Schema\Identifier
;
use
Doctrine\DBAL\Schema\Index
;
use
Doctrine\DBAL\Schema\Sequence
;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\DBALException
;
use
Doctrine\DBAL\Types\BinaryType
;
/**
...
...
@@ -1156,7 +1156,7 @@ END;';
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\OracleKeywords'
;
return
Keywords\OracleKeywords
::
class
;
}
/**
...
...
lib/Doctrine/DBAL/Platforms/PostgreSQL91Platform.php
View file @
50ddb041
...
...
@@ -41,7 +41,7 @@ class PostgreSQL91Platform extends PostgreSqlPlatform
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\PostgreSQL91Keywords'
;
return
Keywords\PostgreSQL91Keywords
::
class
;
}
/**
...
...
lib/Doctrine/DBAL/Platforms/PostgreSQL92Platform.php
View file @
50ddb041
...
...
@@ -61,7 +61,7 @@ class PostgreSQL92Platform extends PostgreSQL91Platform
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\PostgreSQL92Keywords'
;
return
Keywords\PostgreSQL92Keywords
::
class
;
}
/**
...
...
lib/Doctrine/DBAL/Platforms/PostgreSQL94Platform.php
View file @
50ddb041
...
...
@@ -45,7 +45,7 @@ class PostgreSQL94Platform extends PostgreSQL92Platform
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\PostgreSQL94Keywords'
;
return
Keywords\PostgreSQL94Keywords
::
class
;
}
/**
...
...
lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php
View file @
50ddb041
...
...
@@ -1166,7 +1166,7 @@ class PostgreSqlPlatform extends AbstractPlatform
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\PostgreSQLKeywords'
;
return
Keywords\PostgreSQLKeywords
::
class
;
}
/**
...
...
lib/Doctrine/DBAL/Platforms/SQLAnywhere11Platform.php
View file @
50ddb041
...
...
@@ -42,6 +42,6 @@ class SQLAnywhere11Platform extends SQLAnywherePlatform
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\SQLAnywhere11Keywords'
;
return
Keywords\SQLAnywhere11Keywords
::
class
;
}
}
lib/Doctrine/DBAL/Platforms/SQLAnywhere12Platform.php
View file @
50ddb041
...
...
@@ -121,7 +121,7 @@ class SQLAnywhere12Platform extends SQLAnywhere11Platform
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\SQLAnywhere12Keywords'
;
return
Keywords\SQLAnywhere12Keywords
::
class
;
}
/**
...
...
lib/Doctrine/DBAL/Platforms/SQLAnywhere16Platform.php
View file @
50ddb041
...
...
@@ -55,6 +55,6 @@ class SQLAnywhere16Platform extends SQLAnywhere12Platform
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\SQLAnywhere16Keywords'
;
return
Keywords\SQLAnywhere16Keywords
::
class
;
}
}
lib/Doctrine/DBAL/Platforms/SQLAnywherePlatform.php
View file @
50ddb041
...
...
@@ -26,8 +26,8 @@ use Doctrine\DBAL\Schema\Column;
use
Doctrine\DBAL\Schema\ColumnDiff
;
use
Doctrine\DBAL\Schema\Constraint
;
use
Doctrine\DBAL\Schema\ForeignKeyConstraint
;
use
Doctrine\DBAL\Schema\Index
;
use
Doctrine\DBAL\Schema\Identifier
;
use
Doctrine\DBAL\Schema\Index
;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\TableDiff
;
...
...
@@ -1429,7 +1429,7 @@ class SQLAnywherePlatform extends AbstractPlatform
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\SQLAnywhereKeywords'
;
return
Keywords\SQLAnywhereKeywords
::
class
;
}
/**
...
...
lib/Doctrine/DBAL/Platforms/SQLServer2005Platform.php
View file @
50ddb041
...
...
@@ -58,6 +58,6 @@ class SQLServer2005Platform extends SQLServerPlatform
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\SQLServer2005Keywords'
;
return
Keywords\SQLServer2005Keywords
::
class
;
}
}
lib/Doctrine/DBAL/Platforms/SQLServer2008Platform.php
View file @
50ddb041
...
...
@@ -114,6 +114,6 @@ class SQLServer2008Platform extends SQLServer2005Platform
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\SQLServer2008Keywords'
;
return
Keywords\SQLServer2008Keywords
::
class
;
}
}
lib/Doctrine/DBAL/Platforms/SQLServer2012Platform.php
View file @
50ddb041
...
...
@@ -101,7 +101,7 @@ class SQLServer2012Platform extends SQLServer2008Platform
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\SQLServer2012Keywords'
;
return
Keywords\SQLServer2012Keywords
::
class
;
}
/**
...
...
lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php
View file @
50ddb041
...
...
@@ -22,11 +22,11 @@ namespace Doctrine\DBAL\Platforms;
use
Doctrine\DBAL\LockMode
;
use
Doctrine\DBAL\Schema\Column
;
use
Doctrine\DBAL\Schema\ColumnDiff
;
use
Doctrine\DBAL\Schema\Identifier
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\Schema\ForeignKeyConstraint
;
use
Doctrine\DBAL\Schema\Identifier
;
use
Doctrine\DBAL\Schema\Index
;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\TableDiff
;
/**
* The SQLServerPlatform provides the behavior, features and SQL dialect of the
...
...
@@ -1512,7 +1512,7 @@ class SQLServerPlatform extends AbstractPlatform
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\SQLServerKeywords'
;
return
Keywords\SQLServerKeywords
::
class
;
}
/**
...
...
lib/Doctrine/DBAL/Platforms/SqlitePlatform.php
View file @
50ddb041
...
...
@@ -21,12 +21,12 @@ namespace Doctrine\DBAL\Platforms;
use
Doctrine\DBAL\DBALException
;
use
Doctrine\DBAL\Schema\Column
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\Constraint
;
use
Doctrine\DBAL\Schema\ForeignKeyConstraint
;
use
Doctrine\DBAL\Schema\Index
;
use
Doctrine\DBAL\Schema\Identifier
;
use
Doctrine\DBAL\Schema\Constraint
;
use
Doctrine\DBAL\Schema\Index
;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\TableDiff
;
/**
* The SqlitePlatform class describes the specifics and dialects of the SQLite
...
...
@@ -633,7 +633,7 @@ class SqlitePlatform extends AbstractPlatform
*/
protected
function
getReservedKeywordsClass
()
{
return
'Doctrine\DBAL\Platforms\Keywords\SQLiteKeywords'
;
return
Keywords\SQLiteKeywords
::
class
;
}
/**
...
...
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