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
22a7582d
Commit
22a7582d
authored
Jan 29, 2018
by
Gabriel Caruso
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add mising @var
parent
4ea3b4dc
Changes
28
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
177 additions
and
31 deletions
+177
-31
ConnectionTest.php
tests/Doctrine/Tests/DBAL/ConnectionTest.php
+3
-0
DataAccessTest.php
tests/Doctrine/Tests/DBAL/Functional/DataAccessTest.php
+3
-0
ModifyLimitQueryTest.php
...s/Doctrine/Tests/DBAL/Functional/ModifyLimitQueryTest.php
+3
-0
PortabilityTest.php
tests/Doctrine/Tests/DBAL/Functional/PortabilityTest.php
+3
-0
ResultCacheTest.php
tests/Doctrine/Tests/DBAL/Functional/ResultCacheTest.php
+7
-0
TableGeneratorTest.php
tests/Doctrine/Tests/DBAL/Functional/TableGeneratorTest.php
+3
-0
DBAL630Test.php
tests/Doctrine/Tests/DBAL/Functional/Ticket/DBAL630Test.php
+3
-0
TypeConversionTest.php
tests/Doctrine/Tests/DBAL/Functional/TypeConversionTest.php
+3
-0
SQLAzurePlatformTest.php
tests/Doctrine/Tests/DBAL/Platforms/SQLAzurePlatformTest.php
+3
-1
ExpressionBuilderTest.php
...ine/Tests/DBAL/Query/Expression/ExpressionBuilderTest.php
+3
-0
QueryBuilderTest.php
tests/Doctrine/Tests/DBAL/Query/QueryBuilderTest.php
+3
-0
AbstractTestCase.php
...octrine/Tests/DBAL/Sharding/SQLAzure/AbstractTestCase.php
+7
-0
RunSqlCommandTest.php
...s/Doctrine/Tests/DBAL/Tools/Console/RunSqlCommandTest.php
+3
-0
ArrayTest.php
tests/Doctrine/Tests/DBAL/Types/ArrayTest.php
+9
-3
BooleanTest.php
tests/Doctrine/Tests/DBAL/Types/BooleanTest.php
+9
-3
DecimalTest.php
tests/Doctrine/Tests/DBAL/Types/DecimalTest.php
+9
-3
FloatTest.php
tests/Doctrine/Tests/DBAL/Types/FloatTest.php
+9
-1
GuidTypeTest.php
tests/Doctrine/Tests/DBAL/Types/GuidTypeTest.php
+9
-3
IntegerTest.php
tests/Doctrine/Tests/DBAL/Types/IntegerTest.php
+9
-3
ObjectTest.php
tests/Doctrine/Tests/DBAL/Types/ObjectTest.php
+9
-3
SmallIntTest.php
tests/Doctrine/Tests/DBAL/Types/SmallIntTest.php
+9
-3
StringTest.php
tests/Doctrine/Tests/DBAL/Types/StringTest.php
+9
-3
VarDateTimeTest.php
tests/Doctrine/Tests/DBAL/Types/VarDateTimeTest.php
+9
-3
DbalPerformanceTestListener.php
tests/Doctrine/Tests/DbalPerformanceTestListener.php
+3
-0
ConnectionMock.php
tests/Doctrine/Tests/Mocks/ConnectionMock.php
+16
-1
DatabasePlatformMock.php
tests/Doctrine/Tests/Mocks/DatabasePlatformMock.php
+12
-1
DriverMock.php
tests/Doctrine/Tests/Mocks/DriverMock.php
+6
-0
TaskMock.php
tests/Doctrine/Tests/Mocks/TaskMock.php
+3
-0
No files found.
tests/Doctrine/Tests/DBAL/ConnectionTest.php
View file @
22a7582d
...
@@ -30,6 +30,9 @@ class ConnectionTest extends \Doctrine\Tests\DbalTestCase
...
@@ -30,6 +30,9 @@ class ConnectionTest extends \Doctrine\Tests\DbalTestCase
*/
*/
protected
$_conn
=
null
;
protected
$_conn
=
null
;
/**
* @var array
*/
protected
$params
=
array
(
protected
$params
=
array
(
'driver'
=>
'pdo_mysql'
,
'driver'
=>
'pdo_mysql'
,
'host'
=>
'localhost'
,
'host'
=>
'localhost'
,
...
...
tests/Doctrine/Tests/DBAL/Functional/DataAccessTest.php
View file @
22a7582d
...
@@ -11,6 +11,9 @@ use Doctrine\DBAL\Types\Type;
...
@@ -11,6 +11,9 @@ use Doctrine\DBAL\Types\Type;
class
DataAccessTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
class
DataAccessTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
{
/**
* @var bool
*/
static
private
$generated
=
false
;
static
private
$generated
=
false
;
protected
function
setUp
()
protected
function
setUp
()
...
...
tests/Doctrine/Tests/DBAL/Functional/ModifyLimitQueryTest.php
View file @
22a7582d
...
@@ -4,6 +4,9 @@ namespace Doctrine\Tests\DBAL\Functional;
...
@@ -4,6 +4,9 @@ namespace Doctrine\Tests\DBAL\Functional;
class
ModifyLimitQueryTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
class
ModifyLimitQueryTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
{
/**
* @var bool
*/
private
static
$tableCreated
=
false
;
private
static
$tableCreated
=
false
;
protected
function
setUp
()
protected
function
setUp
()
...
...
tests/Doctrine/Tests/DBAL/Functional/PortabilityTest.php
View file @
22a7582d
...
@@ -13,6 +13,9 @@ use Doctrine\DBAL\Portability\Connection as ConnectionPortability;
...
@@ -13,6 +13,9 @@ use Doctrine\DBAL\Portability\Connection as ConnectionPortability;
*/
*/
class
PortabilityTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
class
PortabilityTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
{
/**
* @var Connection
*/
private
$portableConnection
;
private
$portableConnection
;
protected
function
tearDown
()
protected
function
tearDown
()
...
...
tests/Doctrine/Tests/DBAL/Functional/ResultCacheTest.php
View file @
22a7582d
...
@@ -10,7 +10,14 @@ use Doctrine\DBAL\FetchMode;
...
@@ -10,7 +10,14 @@ use Doctrine\DBAL\FetchMode;
*/
*/
class
ResultCacheTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
class
ResultCacheTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
{
/**
* @var Type
*/
private
$expectedResult
=
array
(
array
(
'test_int'
=>
100
,
'test_string'
=>
'foo'
),
array
(
'test_int'
=>
200
,
'test_string'
=>
'bar'
),
array
(
'test_int'
=>
300
,
'test_string'
=>
'baz'
));
private
$expectedResult
=
array
(
array
(
'test_int'
=>
100
,
'test_string'
=>
'foo'
),
array
(
'test_int'
=>
200
,
'test_string'
=>
'bar'
),
array
(
'test_int'
=>
300
,
'test_string'
=>
'baz'
));
/**
* @var \Doctrine\DBAL\Logging\DebugStack
*/
private
$sqlLogger
;
private
$sqlLogger
;
protected
function
setUp
()
protected
function
setUp
()
...
...
tests/Doctrine/Tests/DBAL/Functional/TableGeneratorTest.php
View file @
22a7582d
...
@@ -9,6 +9,9 @@ use Doctrine\DBAL\Id\TableGenerator;
...
@@ -9,6 +9,9 @@ use Doctrine\DBAL\Id\TableGenerator;
*/
*/
class
TableGeneratorTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
class
TableGeneratorTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
{
/**
* @var TableGenerator
*/
private
$generator
;
private
$generator
;
protected
function
setUp
()
protected
function
setUp
()
...
...
tests/Doctrine/Tests/DBAL/Functional/Ticket/DBAL630Test.php
View file @
22a7582d
...
@@ -11,6 +11,9 @@ use PDO;
...
@@ -11,6 +11,9 @@ use PDO;
*/
*/
class
DBAL630Test
extends
\Doctrine\Tests\DbalFunctionalTestCase
class
DBAL630Test
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
{
/**
* @var bool
*/
private
$running
=
false
;
private
$running
=
false
;
protected
function
setUp
()
protected
function
setUp
()
...
...
tests/Doctrine/Tests/DBAL/Functional/TypeConversionTest.php
View file @
22a7582d
...
@@ -6,6 +6,9 @@ use Doctrine\DBAL\Types\Type;
...
@@ -6,6 +6,9 @@ use Doctrine\DBAL\Types\Type;
class
TypeConversionTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
class
TypeConversionTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
{
/**
* @var int
*/
static
private
$typeCounter
=
0
;
static
private
$typeCounter
=
0
;
protected
function
setUp
()
protected
function
setUp
()
...
...
tests/Doctrine/Tests/DBAL/Platforms/SQLAzurePlatformTest.php
View file @
22a7582d
...
@@ -9,6 +9,9 @@ use Doctrine\Tests\DbalTestCase;
...
@@ -9,6 +9,9 @@ use Doctrine\Tests\DbalTestCase;
*/
*/
class
SQLAzurePlatformTest
extends
DbalTestCase
class
SQLAzurePlatformTest
extends
DbalTestCase
{
{
/**
* @var \Doctrine\DBAL\Platforms\SQLAzurePlatform
*/
private
$platform
;
private
$platform
;
protected
function
setUp
()
protected
function
setUp
()
...
@@ -26,4 +29,3 @@ class SQLAzurePlatformTest extends DbalTestCase
...
@@ -26,4 +29,3 @@ class SQLAzurePlatformTest extends DbalTestCase
self
::
assertEquals
(
array
(
'CREATE TABLE tbl (id INT NOT NULL) FEDERATED ON (TblId = id)'
),
$this
->
platform
->
getCreateTableSQL
(
$table
));
self
::
assertEquals
(
array
(
'CREATE TABLE tbl (id INT NOT NULL) FEDERATED ON (TblId = id)'
),
$this
->
platform
->
getCreateTableSQL
(
$table
));
}
}
}
}
tests/Doctrine/Tests/DBAL/Query/Expression/ExpressionBuilderTest.php
View file @
22a7582d
...
@@ -10,6 +10,9 @@ use Doctrine\DBAL\Query\Expression\ExpressionBuilder;
...
@@ -10,6 +10,9 @@ use Doctrine\DBAL\Query\Expression\ExpressionBuilder;
*/
*/
class
ExpressionBuilderTest
extends
\Doctrine\Tests\DbalTestCase
class
ExpressionBuilderTest
extends
\Doctrine\Tests\DbalTestCase
{
{
/**
* @var ExpressionBuilder
*/
protected
$expr
;
protected
$expr
;
protected
function
setUp
()
protected
function
setUp
()
...
...
tests/Doctrine/Tests/DBAL/Query/QueryBuilderTest.php
View file @
22a7582d
...
@@ -11,6 +11,9 @@ use Doctrine\DBAL\Query\QueryBuilder;
...
@@ -11,6 +11,9 @@ use Doctrine\DBAL\Query\QueryBuilder;
*/
*/
class
QueryBuilderTest
extends
\Doctrine\Tests\DbalTestCase
class
QueryBuilderTest
extends
\Doctrine\Tests\DbalTestCase
{
{
/**
* @var \Doctrine\DBAL\Connection
*/
protected
$conn
;
protected
$conn
;
protected
function
setUp
()
protected
function
setUp
()
...
...
tests/Doctrine/Tests/DBAL/Sharding/SQLAzure/AbstractTestCase.php
View file @
22a7582d
...
@@ -8,7 +8,14 @@ use Doctrine\DBAL\Sharding\SQLAzure\SQLAzureShardManager;
...
@@ -8,7 +8,14 @@ use Doctrine\DBAL\Sharding\SQLAzure\SQLAzureShardManager;
abstract
class
AbstractTestCase
extends
\PHPUnit\Framework\TestCase
abstract
class
AbstractTestCase
extends
\PHPUnit\Framework\TestCase
{
{
/**
* @var \Doctrine\DBAL\Connection
*/
protected
$conn
;
protected
$conn
;
/**
* @var SQLAzureShardManager
*/
protected
$sm
;
protected
$sm
;
protected
function
setUp
()
protected
function
setUp
()
...
...
tests/Doctrine/Tests/DBAL/Tools/Console/RunSqlCommandTest.php
View file @
22a7582d
...
@@ -14,6 +14,9 @@ class RunSqlCommandTest extends \PHPUnit\Framework\TestCase
...
@@ -14,6 +14,9 @@ class RunSqlCommandTest extends \PHPUnit\Framework\TestCase
/** @var RunSqlCommand */
/** @var RunSqlCommand */
private
$command
;
private
$command
;
/**
* @var \Doctrine\DBAL\Connection
*/
private
$connectionMock
;
private
$connectionMock
;
protected
function
setUp
()
protected
function
setUp
()
...
...
tests/Doctrine/Tests/DBAL/Types/ArrayTest.php
View file @
22a7582d
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
class
ArrayTest
extends
\Doctrine\Tests\DbalTestCase
class
ArrayTest
extends
\Doctrine\Tests\DbalTestCase
{
{
protected
/**
$_platform
,
* @var MockPlatform
$_type
;
*/
protected
$_platform
;
/**
* @var Type
*/
protected
$_type
;
protected
function
setUp
()
protected
function
setUp
()
{
{
...
...
tests/Doctrine/Tests/DBAL/Types/BooleanTest.php
View file @
22a7582d
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
class
BooleanTest
extends
\Doctrine\Tests\DbalTestCase
class
BooleanTest
extends
\Doctrine\Tests\DbalTestCase
{
{
protected
/**
$_platform
,
* @var MockPlatform
$_type
;
*/
protected
$_platform
;
/**
* @var Type
*/
protected
$_type
;
protected
function
setUp
()
protected
function
setUp
()
{
{
...
...
tests/Doctrine/Tests/DBAL/Types/DecimalTest.php
View file @
22a7582d
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
class
DecimalTest
extends
\Doctrine\Tests\DbalTestCase
class
DecimalTest
extends
\Doctrine\Tests\DbalTestCase
{
{
protected
/**
$_platform
,
* @var MockPlatform
$_type
;
*/
protected
$_platform
;
/**
* @var Type
*/
protected
$_type
;
protected
function
setUp
()
protected
function
setUp
()
{
{
...
...
tests/Doctrine/Tests/DBAL/Types/FloatTest.php
View file @
22a7582d
...
@@ -7,7 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
...
@@ -7,7 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
class
FloatTest
extends
\Doctrine\Tests\DbalTestCase
class
FloatTest
extends
\Doctrine\Tests\DbalTestCase
{
{
protected
$_platform
,
$_type
;
/**
* @var MockPlatform
*/
protected
$_platform
;
/**
* @var Type
*/
protected
$_type
;
protected
function
setUp
()
protected
function
setUp
()
{
{
...
...
tests/Doctrine/Tests/DBAL/Types/GuidTypeTest.php
View file @
22a7582d
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
class
GuidTest
extends
\Doctrine\Tests\DbalTestCase
class
GuidTest
extends
\Doctrine\Tests\DbalTestCase
{
{
protected
/**
$_platform
,
* @var MockPlatform
$_type
;
*/
protected
$_platform
;
/**
* @var Type
*/
protected
$_type
;
protected
function
setUp
()
protected
function
setUp
()
{
{
...
...
tests/Doctrine/Tests/DBAL/Types/IntegerTest.php
View file @
22a7582d
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
class
IntegerTest
extends
\Doctrine\Tests\DbalTestCase
class
IntegerTest
extends
\Doctrine\Tests\DbalTestCase
{
{
protected
/**
$_platform
,
* @var MockPlatform
$_type
;
*/
protected
$_platform
;
/**
* @var Type
*/
protected
$_type
;
protected
function
setUp
()
protected
function
setUp
()
{
{
...
...
tests/Doctrine/Tests/DBAL/Types/ObjectTest.php
View file @
22a7582d
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
class
ObjectTest
extends
\Doctrine\Tests\DbalTestCase
class
ObjectTest
extends
\Doctrine\Tests\DbalTestCase
{
{
protected
/**
$_platform
,
* @var MockPlatform
$_type
;
*/
protected
$_platform
;
/**
* @var Type
*/
protected
$_type
;
protected
function
setUp
()
protected
function
setUp
()
{
{
...
...
tests/Doctrine/Tests/DBAL/Types/SmallIntTest.php
View file @
22a7582d
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
class
SmallIntTest
extends
\Doctrine\Tests\DbalTestCase
class
SmallIntTest
extends
\Doctrine\Tests\DbalTestCase
{
{
protected
/**
$_platform
,
* @var MockPlatform
$_type
;
*/
protected
$_platform
;
/**
* @var Type
*/
protected
$_type
;
protected
function
setUp
()
protected
function
setUp
()
{
{
...
...
tests/Doctrine/Tests/DBAL/Types/StringTest.php
View file @
22a7582d
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
class
StringTest
extends
\Doctrine\Tests\DbalTestCase
class
StringTest
extends
\Doctrine\Tests\DbalTestCase
{
{
protected
/**
$_platform
,
* @var MockPlatform
$_type
;
*/
protected
$_platform
;
/**
* @var Type
*/
protected
$_type
;
protected
function
setUp
()
protected
function
setUp
()
{
{
...
...
tests/Doctrine/Tests/DBAL/Types/VarDateTimeTest.php
View file @
22a7582d
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
...
@@ -7,9 +7,15 @@ use Doctrine\Tests\DBAL\Mocks\MockPlatform;
class
VarDateTimeTest
extends
\Doctrine\Tests\DbalTestCase
class
VarDateTimeTest
extends
\Doctrine\Tests\DbalTestCase
{
{
protected
/**
$_platform
,
* @var MockPlatform
$_type
;
*/
protected
$_platform
;
/**
* @var Type
*/
protected
$_type
;
protected
function
setUp
()
protected
function
setUp
()
{
{
...
...
tests/Doctrine/Tests/DbalPerformanceTestListener.php
View file @
22a7582d
...
@@ -9,6 +9,9 @@ namespace Doctrine\Tests;
...
@@ -9,6 +9,9 @@ namespace Doctrine\Tests;
*/
*/
class
DbalPerformanceTestListener
extends
\PHPUnit\Framework\BaseTestListener
class
DbalPerformanceTestListener
extends
\PHPUnit\Framework\BaseTestListener
{
{
/**
* @var array
*/
private
$timings
=
[];
private
$timings
=
[];
/**
/**
...
...
tests/Doctrine/Tests/Mocks/ConnectionMock.php
View file @
22a7582d
...
@@ -4,9 +4,24 @@ namespace Doctrine\Tests\Mocks;
...
@@ -4,9 +4,24 @@ namespace Doctrine\Tests\Mocks;
class
ConnectionMock
extends
\Doctrine\DBAL\Connection
class
ConnectionMock
extends
\Doctrine\DBAL\Connection
{
{
/**
* @var
*/
private
$_fetchOneResult
;
private
$_fetchOneResult
;
/**
* @var DatabasePlatformMock
*/
private
$_platformMock
;
private
$_platformMock
;
/**
* @var int
*/
private
$_lastInsertId
=
0
;
private
$_lastInsertId
=
0
;
/**
* @var array
*/
private
$_inserts
=
array
();
private
$_inserts
=
array
();
public
function
__construct
(
array
$params
,
$driver
,
$config
=
null
,
$eventManager
=
null
)
public
function
__construct
(
array
$params
,
$driver
,
$config
=
null
,
$eventManager
=
null
)
...
@@ -84,4 +99,4 @@ class ConnectionMock extends \Doctrine\DBAL\Connection
...
@@ -84,4 +99,4 @@ class ConnectionMock extends \Doctrine\DBAL\Connection
$this
->
_inserts
=
array
();
$this
->
_inserts
=
array
();
$this
->
_lastInsertId
=
0
;
$this
->
_lastInsertId
=
0
;
}
}
}
}
\ No newline at end of file
tests/Doctrine/Tests/Mocks/DatabasePlatformMock.php
View file @
22a7582d
...
@@ -6,8 +6,19 @@ use Doctrine\DBAL\DBALException;
...
@@ -6,8 +6,19 @@ use Doctrine\DBAL\DBALException;
class
DatabasePlatformMock
extends
\Doctrine\DBAL\Platforms\AbstractPlatform
class
DatabasePlatformMock
extends
\Doctrine\DBAL\Platforms\AbstractPlatform
{
{
/**
* @var string
*/
private
$_sequenceNextValSql
=
""
;
private
$_sequenceNextValSql
=
""
;
/**
* @var bool
*/
private
$_prefersIdentityColumns
=
true
;
private
$_prefersIdentityColumns
=
true
;
/**
* @var bool
*/
private
$_prefersSequences
=
false
;
private
$_prefersSequences
=
false
;
/**
/**
...
@@ -87,4 +98,4 @@ class DatabasePlatformMock extends \Doctrine\DBAL\Platforms\AbstractPlatform
...
@@ -87,4 +98,4 @@ class DatabasePlatformMock extends \Doctrine\DBAL\Platforms\AbstractPlatform
{
{
throw
DBALException
::
notSupported
(
__METHOD__
);
throw
DBALException
::
notSupported
(
__METHOD__
);
}
}
}
}
\ No newline at end of file
tests/Doctrine/Tests/Mocks/DriverMock.php
View file @
22a7582d
...
@@ -5,8 +5,14 @@ namespace Doctrine\Tests\Mocks;
...
@@ -5,8 +5,14 @@ namespace Doctrine\Tests\Mocks;
class
DriverMock
implements
\Doctrine\DBAL\Driver
class
DriverMock
implements
\Doctrine\DBAL\Driver
{
{
/**
* @var DatabasePlatformMock
*/
private
$_platformMock
;
private
$_platformMock
;
/**
* @var SchemaManagerMock
*/
private
$_schemaManagerMock
;
private
$_schemaManagerMock
;
public
function
connect
(
array
$params
,
$username
=
null
,
$password
=
null
,
array
$driverOptions
=
array
())
public
function
connect
(
array
$params
,
$username
=
null
,
$password
=
null
,
array
$driverOptions
=
array
())
...
...
tests/Doctrine/Tests/Mocks/TaskMock.php
View file @
22a7582d
...
@@ -37,6 +37,9 @@ class TaskMock extends \Doctrine\Common\Cli\Tasks\AbstractTask
...
@@ -37,6 +37,9 @@ class TaskMock extends \Doctrine\Common\Cli\Tasks\AbstractTask
*/
*/
static
public
$instances
=
array
();
static
public
$instances
=
array
();
/**
* @var int
*/
private
$runCounter
=
0
;
private
$runCounter
=
0
;
/**
/**
...
...
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