Code Duplication    Length = 7-8 lines in 4 locations

lib/Doctrine/DBAL/Platforms/OraclePlatform.php 1 location

@@ 186-193 (lines=8) @@
183
     * Therefore we can use MINVALUE to be able to get a hint what START WITH was for later introspection
184
     * in {@see listSequences()}
185
     */
186
    public function getCreateSequenceSQL(Sequence $sequence)
187
    {
188
        return 'CREATE SEQUENCE ' . $sequence->getQuotedName($this) .
189
               ' START WITH ' . $sequence->getInitialValue() .
190
               ' MINVALUE ' . $sequence->getInitialValue() .
191
               ' INCREMENT BY ' . $sequence->getAllocationSize() .
192
               $this->getSequenceCacheSQL($sequence);
193
    }
194
195
    /**
196
     * {@inheritDoc}

lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php 1 location

@@ 685-692 (lines=8) @@
682
    /**
683
     * {@inheritDoc}
684
     */
685
    public function getCreateSequenceSQL(Sequence $sequence)
686
    {
687
        return 'CREATE SEQUENCE ' . $sequence->getQuotedName($this) .
688
               ' INCREMENT BY ' . $sequence->getAllocationSize() .
689
               ' MINVALUE ' . $sequence->getInitialValue() .
690
               ' START ' . $sequence->getInitialValue() .
691
               $this->getSequenceCacheSQL($sequence);
692
    }
693
694
    /**
695
     * {@inheritDoc}

lib/Doctrine/DBAL/Platforms/SQLAnywhere12Platform.php 1 location

@@ 38-44 (lines=7) @@
35
    /**
36
     * {@inheritdoc}
37
     */
38
    public function getCreateSequenceSQL(Sequence $sequence)
39
    {
40
        return 'CREATE SEQUENCE ' . $sequence->getQuotedName($this) .
41
            ' INCREMENT BY ' . $sequence->getAllocationSize() .
42
            ' START WITH ' . $sequence->getInitialValue() .
43
            ' MINVALUE ' . $sequence->getInitialValue();
44
    }
45
46
    /**
47
     * {@inheritdoc}

lib/Doctrine/DBAL/Platforms/SQLServer2012Platform.php 1 location

@@ 46-52 (lines=7) @@
43
    /**
44
     * {@inheritdoc}
45
     */
46
    public function getCreateSequenceSQL(Sequence $sequence)
47
    {
48
        return 'CREATE SEQUENCE ' . $sequence->getQuotedName($this) .
49
               ' START WITH ' . $sequence->getInitialValue() .
50
               ' INCREMENT BY ' . $sequence->getAllocationSize() .
51
               ' MINVALUE ' . $sequence->getInitialValue();
52
    }
53
54
    /**
55
     * {@inheritdoc}