Passed
Pull Request — master (#311)
by William
12:43
created

ExplainStatementTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
c 0
b 0
f 0
dl 0
loc 16
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A explainProvider() 0 4 1
A testExplain() 0 3 1
1
<?php
2
3
namespace PhpMyAdmin\SqlParser\Tests\Parser;
4
5
use PhpMyAdmin\SqlParser\Tests\TestCase;
6
7
class ExplainStatementTest extends TestCase
8
{
9
    /**
10
     * @dataProvider explainProvider
11
     *
12
     * @param mixed $test
13
     */
14
    public function testExplain($test)
15
    {
16
        $this->runParserTest($test);
17
    }
18
19
    public function explainProvider()
20
    {
21
        return array(
22
            array('parser/parseExplain')
23
        );
24
    }
25
}
26