collapse
79%
WDescription%
Clover Coverage: Elements 99% (781/984)79
Number of pmd violations is 2779
Build stability: 1 out of the last 5 builds failed.80
Test Result: 0 tests failing out of a total of 160 tests.100
Build History
x
 
 
 
 
 
 
 
 
 
 

File: Stream.php Lines 1 to 20
1<?php
2namespace Puyo\Psr7;
3
4/**
5 * ストリームを抽象化したもの
6 *
7 * PSR-7 の StreamInterface の実装。
8 * HTTPに限らず利用できるが、現状はバイナリにしか対応していない。
9 */
Type Class Description
pmd ExcessiveClassComplexity The class Stream has an overall complexity of 56 which is very high. The configured complexity threshold is 50.
10
Type Class Description
pmd ExcessiveClassComplexity The class Stream has an overall complexity of 56 which is very high. The configured complexity threshold is 50.
class Stream implements \Psr\Http\Message\StreamInterface
11{
12    /** @var resource */
13    protected $fp;
14
15    /**
16     * ファイルのパスから生成した場合に内部で開くためのStream
17     * @var resource
18     */
19    protected $tmpFp;
20