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

PostgreSQL92Keywords::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
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 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
 * PostgreSQL 9.2 reserved keywords list.
9
 *
10
 * @link   www.doctrine-project.org
11
 */
12
class PostgreSQL92Keywords extends PostgreSQL91Keywords
13
{
14
    /**
15
     * {@inheritdoc}
16
     */
17
    public function getName()
18
    {
19
        return 'PostgreSQL92';
20
    }
21
22
    /**
23
     * {@inheritdoc}
24
     *
25
     * @link http://www.postgresql.org/docs/9.2/static/sql-keywords-appendix.html
26
     */
27 2898
    protected function getKeywords()
28
    {
29 2898
        return array_merge(parent::getKeywords(), ['COLLATION']);
30
    }
31
}
32