File tree Expand file tree Collapse file tree 7 files changed +30
-2
lines changed Expand file tree Collapse file tree 7 files changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ branches:
22
22
- /^analysis-.*$/
23
23
24
24
matrix :
25
- allow_failures :
26
- - php : hhvm
27
25
fast_finish : true
28
26
include :
29
27
- php : 5.4
Original file line number Diff line number Diff line change 3
3
namespace spec \Http \Message \Encoding ;
4
4
5
5
use Psr \Http \Message \StreamInterface ;
6
+ use PhpSpec \Exception \Example \SkippingException ;
6
7
use PhpSpec \ObjectBehavior ;
7
8
8
9
class ChunkStreamSpec extends ObjectBehavior
9
10
{
10
11
function let (StreamInterface $ stream )
11
12
{
13
+ if (defined ('HHVM_VERSION ' )) {
14
+ throw new SkippingException ('Skipping test as there is no dechunk filter on hhvm ' );
15
+ }
16
+
12
17
$ this ->beConstructedWith ($ stream );
13
18
}
14
19
Original file line number Diff line number Diff line change 3
3
namespace spec \Http \Message \Encoding ;
4
4
5
5
use Psr \Http \Message \StreamInterface ;
6
+ use PhpSpec \Exception \Example \SkippingException ;
6
7
use PhpSpec \ObjectBehavior ;
7
8
8
9
class CompressStreamSpec extends ObjectBehavior
9
10
{
10
11
function let (StreamInterface $ stream )
11
12
{
13
+ if (defined ('HHVM_VERSION ' )) {
14
+ throw new SkippingException ('Skipping test as zlib is not working on hhvm ' );
15
+ }
16
+
12
17
$ this ->beConstructedWith ($ stream );
13
18
}
14
19
Original file line number Diff line number Diff line change 3
3
namespace spec \Http \Message \Encoding ;
4
4
5
5
use Psr \Http \Message \StreamInterface ;
6
+ use PhpSpec \Exception \Example \SkippingException ;
6
7
use PhpSpec \ObjectBehavior ;
7
8
8
9
class DechunkStreamSpec extends ObjectBehavior
9
10
{
10
11
function let (StreamInterface $ stream )
11
12
{
13
+ if (defined ('HHVM_VERSION ' )) {
14
+ throw new SkippingException ('Skipping test as there is no dechunk filter on hhvm ' );
15
+ }
16
+
12
17
$ this ->beConstructedWith ($ stream );
13
18
}
14
19
Original file line number Diff line number Diff line change 3
3
namespace spec \Http \Message \Encoding ;
4
4
5
5
use Psr \Http \Message \StreamInterface ;
6
+ use PhpSpec \Exception \Example \SkippingException ;
6
7
use PhpSpec \ObjectBehavior ;
7
8
8
9
class DecompressStreamSpec extends ObjectBehavior
9
10
{
10
11
function let (StreamInterface $ stream )
11
12
{
13
+ if (defined ('HHVM_VERSION ' )) {
14
+ throw new SkippingException ('Skipping test as zlib is not working on hhvm ' );
15
+ }
16
+
12
17
$ this ->beConstructedWith ($ stream );
13
18
}
14
19
Original file line number Diff line number Diff line change 3
3
namespace spec \Http \Message \Encoding ;
4
4
5
5
use Psr \Http \Message \StreamInterface ;
6
+ use PhpSpec \Exception \Example \SkippingException ;
6
7
use PhpSpec \ObjectBehavior ;
7
8
8
9
class GzipDecodeStreamSpec extends ObjectBehavior
9
10
{
10
11
function let (StreamInterface $ stream )
11
12
{
13
+ if (defined ('HHVM_VERSION ' )) {
14
+ throw new SkippingException ('Skipping test as zlib is not working on hhvm ' );
15
+ }
16
+
12
17
$ this ->beConstructedWith ($ stream );
13
18
}
14
19
Original file line number Diff line number Diff line change 3
3
namespace spec \Http \Message \Encoding ;
4
4
5
5
use Psr \Http \Message \StreamInterface ;
6
+ use PhpSpec \Exception \Example \SkippingException ;
6
7
use PhpSpec \ObjectBehavior ;
7
8
8
9
class GzipEncodeStreamSpec extends ObjectBehavior
9
10
{
10
11
function let (StreamInterface $ stream )
11
12
{
13
+ if (defined ('HHVM_VERSION ' )) {
14
+ throw new SkippingException ('Skipping test as zlib is not working on hhvm ' );
15
+ }
16
+
12
17
$ this ->beConstructedWith ($ stream );
13
18
}
14
19
You can’t perform that action at this time.
0 commit comments