Test Failed
Push — master ( 389090...91c650 )
by Ryuichi
02:53
created

FileReaderProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A readProvider() 0 6 1
1
<?php
2
namespace WebStream\IO\Test\Providers;
3
4
/**
5
 * FileReaderProvider
6
 * @author Ryuichi TANAKA.
7
 * @since 2016/08/18
8
 * @version 0.7
9
 */
10
trait FileReaderProvider
11
{
12
    public function readProvider()
13
    {
14
        return [
15
            [dirname(__FILE__)  . "/../Fixtures/filereader-test1.txt", "test1\n" . "test2\n"]
16
        ];
17
    }
18
}
19