Completed
Push — master ( 06b292...adafac )
by Nicolai
02:22
created

verify.php ➔ expectNot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
if (!function_exists('verifyThat')) {
4
    /**
5
     * @param $truth
6
     */
7
    function verifyThat($truth)
8
    {
9
        verify_that($truth);
10
    }
11
}
12
13
if (!function_exists('verifyNot')) {
14
    /**
15
     * @param $fallacy
16
     */
17
    function verifyNot($fallacy)
18
    {
19
        verify_not($fallacy);
20
    }
21
}
22
23
if (!function_exists('expectThat')) {
24
    /**
25
     * @param $truth
26
     */
27
    function expectThat($truth)
28
    {
29
        expect_that($truth);
30
    }
31
}
32
33
if (!function_exists('expectNot')) {
34
    /**
35
     * @param $fallacy
36
     */
37
    function expectNot($fallacy)
38
    {
39
        expect_not($fallacy);
40
    }
41
}
42