Total Complexity | 8 |
Total Lines | 64 |
Duplicated Lines | 0 % |
Coverage | 86.67% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class OutputStreamWriter |
||
15 | { |
||
16 | /** |
||
17 | * @var OutputStream 出力ストリーム |
||
18 | */ |
||
19 | protected $stream; |
||
20 | |||
21 | /** |
||
22 | * constructor |
||
23 | * @param OutputStream $stream 出力ストリーム |
||
24 | */ |
||
25 | 15 | public function __construct(OutputStream $stream) |
|
26 | { |
||
27 | 15 | $this->stream = $stream; |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * destructor |
||
32 | */ |
||
33 | 17 | public function __destruct() |
|
36 | } |
||
37 | |||
38 | /** |
||
39 | * バッファリングしているすべての出力バイトを書き出し、出力ストリームを閉じる |
||
40 | * @throws WebStream\Exception\Extend\IOException |
||
41 | */ |
||
42 | 15 | public function close() |
|
45 | } |
||
46 | |||
47 | /** |
||
48 | * 出力ストリームに書き出す |
||
49 | * @param mixed $buf 出力データ |
||
50 | * @throws WebStream\Exception\Extend\IOException |
||
51 | */ |
||
52 | 12 | public function write($buf) |
|
59 | } |
||
60 | |||
61 | /** |
||
62 | * バッファリングしているすべての出力バイトを出力ストリームを閉じずに強制的に書き出す |
||
63 | * writeを実行した時点では書き出されておらず、flushした時点ですべて書き出す |
||
64 | * @throws WebStream\Exception\Extend\IOException |
||
65 | */ |
||
66 | 12 | public function flush() |
|
69 | } |
||
70 | |||
71 | /** |
||
72 | * 改行を書き出す |
||
73 | * @throws WebStream\Exception\Extend\IOException |
||
74 | */ |
||
75 | public function newLine() |
||
78 | } |
||
79 | } |
||
80 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths