Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class SQLServerPlatform2012Test extends AbstractSQLServerPlatformTestCase |
||
12 | { |
||
13 | public function createPlatform() : AbstractPlatform |
||
16 | } |
||
17 | |||
18 | /** |
||
19 | * @group DDC-2310 |
||
20 | * @dataProvider getLockHints |
||
21 | */ |
||
22 | public function testAppendsLockHint(?int $lockMode, string $lockHint) : void |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @return mixed[][] |
||
32 | */ |
||
33 | public static function getLockHints() : iterable |
||
34 | { |
||
35 | return [ |
||
36 | [null, ''], |
||
37 | [LockMode::NONE, ' WITH (NOLOCK)'], |
||
38 | [LockMode::OPTIMISTIC, ''], |
||
39 | [LockMode::PESSIMISTIC_READ, ' WITH (HOLDLOCK, ROWLOCK)'], |
||
40 | [LockMode::PESSIMISTIC_WRITE, ' WITH (UPDLOCK, ROWLOCK)'], |
||
41 | ]; |
||
42 | } |
||
43 | |||
44 | public function testGeneratesTypeDeclarationForDateTimeTz() : void |
||
47 | } |
||
48 | } |
||
49 |