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
ea497408
Commit
ea497408
authored
Nov 30, 2018
by
Benjamin Morel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove more useless annotations
parent
1e785ee8
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
0 additions
and
16 deletions
+0
-16
DB2Connection.php
lib/Doctrine/DBAL/Driver/IBMDB2/DB2Connection.php
+0
-1
AbstractPlatform.php
lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
+0
-2
DrizzlePlatform.php
lib/Doctrine/DBAL/Platforms/DrizzlePlatform.php
+0
-1
MySqlPlatform.php
lib/Doctrine/DBAL/Platforms/MySqlPlatform.php
+0
-1
OraclePlatform.php
lib/Doctrine/DBAL/Platforms/OraclePlatform.php
+0
-1
SQLAnywherePlatform.php
lib/Doctrine/DBAL/Platforms/SQLAnywherePlatform.php
+0
-3
SQLServerPlatform.php
lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php
+0
-2
SingleDatabaseSynchronizer.php
...e/DBAL/Schema/Synchronizer/SingleDatabaseSynchronizer.php
+0
-1
Table.php
lib/Doctrine/DBAL/Schema/Table.php
+0
-1
ReservedWordsCommand.php
...trine/DBAL/Tools/Console/Command/ReservedWordsCommand.php
+0
-1
PostgreSqlSchemaManagerTest.php
...ts/DBAL/Functional/Schema/PostgreSqlSchemaManagerTest.php
+0
-1
ComparatorTest.php
tests/Doctrine/Tests/DBAL/Schema/ComparatorTest.php
+0
-1
No files found.
lib/Doctrine/DBAL/Driver/IBMDB2/DB2Connection.php
View file @
ea497408
...
...
@@ -56,7 +56,6 @@ class DB2Connection implements Connection, ServerInfoAwareConnection
*/
public
function
getServerVersion
()
{
/** @var stdClass $serverInfo */
$serverInfo
=
db2_server_info
(
$this
->
conn
);
return
$serverInfo
->
DBMS_VER
;
...
...
lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
View file @
ea497408
...
...
@@ -1550,8 +1550,6 @@ abstract class AbstractPlatform
$columns
=
[];
foreach
(
$table
->
getColumns
()
as
$column
)
{
/** @var Column $column */
if
(
$this
->
_eventManager
!==
null
&&
$this
->
_eventManager
->
hasListeners
(
Events
::
onSchemaCreateTableColumn
))
{
$eventArgs
=
new
SchemaCreateTableColumnEventArgs
(
$column
,
$table
,
$this
);
$this
->
_eventManager
->
dispatchEvent
(
Events
::
onSchemaCreateTableColumn
,
$eventArgs
);
...
...
lib/Doctrine/DBAL/Platforms/DrizzlePlatform.php
View file @
ea497408
...
...
@@ -508,7 +508,6 @@ class DrizzlePlatform extends AbstractPlatform
continue
;
}
/** @var ColumnDiff $columnDiff */
$column
=
$columnDiff
->
column
;
$columnArray
=
$column
->
toArray
();
...
...
lib/Doctrine/DBAL/Platforms/MySqlPlatform.php
View file @
ea497408
...
...
@@ -580,7 +580,6 @@ SQL
continue
;
}
/** @var ColumnDiff $columnDiff */
$column
=
$columnDiff
->
column
;
$columnArray
=
$column
->
toArray
();
...
...
lib/Doctrine/DBAL/Platforms/OraclePlatform.php
View file @
ea497408
...
...
@@ -799,7 +799,6 @@ SQL
continue
;
}
/** @var ColumnDiff $columnDiff */
$column
=
$columnDiff
->
column
;
// Do not generate column alteration clause if type is binary and only fixed property has changed.
...
...
lib/Doctrine/DBAL/Platforms/SQLAnywherePlatform.php
View file @
ea497408
...
...
@@ -116,7 +116,6 @@ class SQLAnywherePlatform extends AbstractPlatform
$tableSql
=
[];
$alterClauses
=
[];
/** @var Column $column */
foreach
(
$diff
->
addedColumns
as
$column
)
{
if
(
$this
->
onSchemaAlterTableAddColumn
(
$column
,
$diff
,
$columnSql
))
{
continue
;
...
...
@@ -137,7 +136,6 @@ class SQLAnywherePlatform extends AbstractPlatform
);
}
/** @var Column $column */
foreach
(
$diff
->
removedColumns
as
$column
)
{
if
(
$this
->
onSchemaAlterTableRemoveColumn
(
$column
,
$diff
,
$columnSql
))
{
continue
;
...
...
@@ -146,7 +144,6 @@ class SQLAnywherePlatform extends AbstractPlatform
$alterClauses
[]
=
$this
->
getAlterTableRemoveColumnClause
(
$column
);
}
/** @var ColumnDiff $columnDiff */
foreach
(
$diff
->
changedColumns
as
$columnDiff
)
{
if
(
$this
->
onSchemaAlterTableChangeColumn
(
$columnDiff
,
$diff
,
$columnSql
))
{
continue
;
...
...
lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php
View file @
ea497408
...
...
@@ -460,7 +460,6 @@ SQL
$columnSql
=
[];
$commentsSql
=
[];
/** @var Column $column */
foreach
(
$diff
->
addedColumns
as
$column
)
{
if
(
$this
->
onSchemaAlterTableAddColumn
(
$column
,
$diff
,
$columnSql
))
{
continue
;
...
...
@@ -494,7 +493,6 @@ SQL
$queryParts
[]
=
'DROP COLUMN '
.
$column
->
getQuotedName
(
$this
);
}
/** @var ColumnDiff $columnDiff */
foreach
(
$diff
->
changedColumns
as
$columnDiff
)
{
if
(
$this
->
onSchemaAlterTableChangeColumn
(
$columnDiff
,
$diff
,
$columnSql
))
{
continue
;
...
...
lib/Doctrine/DBAL/Schema/Synchronizer/SingleDatabaseSynchronizer.php
View file @
ea497408
...
...
@@ -115,7 +115,6 @@ class SingleDatabaseSynchronizer extends AbstractSchemaSynchronizer
$sm
=
$this
->
conn
->
getSchemaManager
();
$visitor
=
new
DropSchemaSqlCollector
(
$this
->
platform
);
/** @var Schema $schema */
$schema
=
$sm
->
createSchema
();
$schema
->
visit
(
$visitor
);
...
...
lib/Doctrine/DBAL/Schema/Table.php
View file @
ea497408
...
...
@@ -615,7 +615,6 @@ class Table extends AbstractAsset
{
$foreignKeyColumns
=
[];
foreach
(
$this
->
getForeignKeys
()
as
$foreignKey
)
{
/** @var ForeignKeyConstraint $foreignKey */
$foreignKeyColumns
=
array_merge
(
$foreignKeyColumns
,
$foreignKey
->
getColumns
());
}
return
$this
->
filterColumns
(
$foreignKeyColumns
);
...
...
lib/Doctrine/DBAL/Tools/Console/Command/ReservedWordsCommand.php
View file @
ea497408
...
...
@@ -161,7 +161,6 @@ EOT
$output
->
write
(
'Checking keyword violations for <comment>'
.
implode
(
', '
,
$keywordLists
)
.
'</comment>...'
,
true
);
/** @var Schema $schema */
$schema
=
$conn
->
getSchemaManager
()
->
createSchema
();
$visitor
=
new
ReservedKeywordsValidator
(
$keywords
);
$schema
->
visit
(
$visitor
);
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/PostgreSqlSchemaManagerTest.php
View file @
ea497408
...
...
@@ -397,7 +397,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
$table
->
addColumn
(
'foo'
,
$type
)
->
setPlatformOption
(
'jsonb'
,
true
);
$this
->
schemaManager
->
dropAndCreateTable
(
$table
);
/** @var Schema\Column[] $columns */
$columns
=
$this
->
schemaManager
->
listTableColumns
(
'test_jsonb'
);
self
::
assertSame
(
$type
,
$columns
[
'foo'
]
->
getType
()
->
getName
());
...
...
tests/Doctrine/Tests/DBAL/Schema/ComparatorTest.php
View file @
ea497408
...
...
@@ -833,7 +833,6 @@ class ComparatorTest extends TestCase
$sequence
=
$schema
->
createSequence
(
'baz'
);
$schemaNew
=
clone
$schema
;
/** @var Schema $schemaNew */
$schemaNew
->
getSequence
(
'baz'
)
->
setAllocationSize
(
20
);
$c
=
new
Comparator
();
...
...
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