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

FileWriterProvider::writeProvider()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
namespace WebStream\IO\Test\Providers;
3
4
/**
5
 * FileWriterProvider
6
 * @author Ryuichi TANAKA.
7
 * @since 2016/08/18
8
 * @version 0.7
9
 */
10
trait FileWriterProvider
11
{
12
    public function writeProvider()
13
    {
14
        return [
15
            ["/tmp/filewriter-test1.txt", "test"]
16
        ];
17
    }
18
19
    public function writeAppendProvider()
20
    {
21
        return [
22
            ["/tmp/filewriter-test2.txt", "test", "testtest"]
23
        ];
24
    }
25
}
26