Completed
Push — develop ( 682b1b...fe73b2 )
by Adrien
20:00
created

DataTypeTest::setUp()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 7
Code Lines 4

Duplication

Lines 7
Ratio 100 %

Importance

Changes 0
Metric Value
cc 2
eloc 4
nc 2
nop 0
dl 7
loc 7
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
namespace PhpOffice\PhpSpreadsheetTests\Cell;
4
5
use PhpOffice\PhpSpreadsheet\Cell\DataType;
6
7
class DataTypeTest extends \PHPUnit_Framework_TestCase
8
{
9
    public function testGetErrorCodes()
10
    {
11
        $result = DataType::getErrorCodes();
12
        $this->assertInternalType('array', $result);
13
        $this->assertGreaterThan(0, count($result));
14
        $this->assertArrayHasKey('#NULL!', $result);
15
    }
16
}
17