Completed
Push — master ( 129cf7...e70161 )
by Ema
02:11
created

GuzzleExceptionTest::setUpbeforeClass()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 2
nc 2
nop 0
1
<?php
2
3
namespace Elastica\Test\Exception\Connection;
4
5
use Elastica\Test\Exception\AbstractExceptionTest;
6
7
class GuzzleExceptionTest extends AbstractExceptionTest
8
{
9
    public static function setUpbeforeClass(): void
10
    {
11
        if (!\class_exists('GuzzleHttp\\Client')) {
12
            self::markTestSkipped('guzzlehttp/guzzle package should be installed to run guzzle transport tests');
13
        }
14
    }
15
}
16