TestCase   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A setUpBeforeClass() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of graze/queue.
5
 *
6
 * Copyright (c) 2015 Nature Delivered Ltd. <https://www.graze.com>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 *
11
 * @license https://github.com/graze/queue/blob/master/LICENSE MIT
12
 *
13
 * @link    https://github.com/graze/queue
14
 */
15
16
namespace Graze\Queue\Test;
17
18
use Hamcrest\Util;
19
use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;
20
21
class TestCase extends \PHPUnit\Framework\TestCase
22
{
23
    use MockeryPHPUnitIntegration;
24
25
    public static function setUpBeforeClass()
26
    {
27
        // Require the Hamcrest global functions.
28
        Util::registerGlobalFunctions();
29
    }
30
}
31