Failed Conditions
Push — master ( 379085...b45ed5 )
by Marco
54s queued 28s
created

SQLServer2008Keywords::getKeywords()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Doctrine\DBAL\Platforms\Keywords;
4
5
use function array_merge;
6
7
/**
8
 * Microsoft SQL Server 2008 reserved keyword dictionary.
9
 *
10
 * @link    www.doctrine-project.com
11
 */
12
class SQLServer2008Keywords extends SQLServer2005Keywords
13
{
14
    /**
15
     * {@inheritdoc}
16
     */
17
    public function getName()
18
    {
19
        return 'SQLServer2008';
20
    }
21
22
    /**
23
     * {@inheritdoc}
24
     *
25
     * @link http://msdn.microsoft.com/en-us/library/ms189822%28v=sql.100%29.aspx
26
     */
27 2143
    protected function getKeywords()
28
    {
29 2143
        return array_merge(parent::getKeywords(), ['MERGE']);
30
    }
31
}
32