Passed
Push — master ( 474b60...e69b5a )
by Gareth
02:14
created

Type::propertyToXml()   B

Complexity

Conditions 7
Paths 5

Size

Total Lines 25
Code Lines 13

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 11
CRAP Score 7.4822

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 7
eloc 13
nc 5
nop 2
dl 0
loc 25
ccs 11
cts 14
cp 0.7856
crap 7.4822
rs 8.8333
c 2
b 0
f 0
1
<?php
2
/**
3
 * Contains \garethp\ews\API\Type.
4
 */
5
6
namespace garethp\ews\API;
7
8
use garethp\ews\BuildableTrait;
9
10
/**
11
 * Base class for Exchange Web Service Types.
12
 *
13
 * @package php-ews\Type
14
 */
15
#[\AllowDynamicProperties]
16
class Type
17
{
18
    use MagicMethodsTrait;
0 ignored issues
show
Bug introduced by
The trait garethp\ews\API\MagicMethodsTrait requires the property $Entry which is not provided by garethp\ews\API\Type.
Loading history...
19
    use BuildableTrait;
20
}
21