collapse
54%
WDescription%
Clover Coverage: Methods 54% (3/8)54
Build stability: 2 out of the last 5 builds failed.60
Number of checkstyle violations is 1479
Test Result: 0 tests failing out of a total of 5 tests.100
Build History
x
 
 
 
 
 

File: CommentableCsvDataSet.php Lines 29 to 48
29    }
30
31    /**
32     * Returns a row from the csv file in an indexed array.
33     *
34     * @param resource $fh
35     *
36     * @return array|false
37     */
Type Class Description
pmd ShortVariable Avoid variables with short names like $fh. Configured minimum length is 3.
38
Type Class Description
pmd ShortVariable Avoid variables with short names like $fh. Configured minimum length is 3.
    protected function getCsvRow($fh)
39    {
40        if (version_compare(PHP_VERSION, '5.3.0', '>')) {
41            $rows = fgetcsv($fh, null, $this->delimiter, $this->enclosure, $this->escape);
42        } else {
43            $rows = fgetcsv($fh, null, $this->delimiter, $this->enclosure);
44        }
45
46        if ($rows === false) {
47            return false;
48        }