Passed
Branch qa (0ba722)
by Jonathan
11:59 queued 59s
created

AbstractAssert::valueToString()   B

Complexity

Conditions 9
Paths 9

Size

Total Lines 36
Code Lines 19

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 20
CRAP Score 9

Importance

Changes 0
Metric Value
eloc 19
dl 0
loc 36
ccs 20
cts 20
cp 1
rs 8.0555
c 0
b 0
f 0
cc 9
nc 9
nop 1
crap 9
1
<?php
2
declare(strict_types=1);
3
4
/**
5
 * ReportingCloud PHP SDK
6
 *
7
 * PHP SDK for ReportingCloud Web API. Authored and supported by Text Control GmbH.
8
 *
9
 * @link      https://www.reporting.cloud to learn more about ReportingCloud
10
 * @link      https://git.io/Jejj2 for the canonical source repository
11
 * @license   https://git.io/Jejjr
12
 * @copyright © 2021 Text Control GmbH
13
 */
14
15
namespace TxTextControl\ReportingCloud\Assert;
16
17
/**
18
 * Abstract AbstractAssert
19
 *
20
 * This component is based on Webmozart\Assert.
21
 * See: https://github.com/webmozart/assert
22
 *
23
 * At the time of implementation (March 2019), the above component did not support strict types.
24
 * Since the ReportingCloud PHP SDK does support strict types, the necessary functions where cherry-picked from
25
 * Webmozart\Assert, strict typed, and insert into this component.
26
 *
27
 * @package TxTextControl\ReportingCloud
28
 * @author  Jonathan Maron (@JonathanMaron)
29
 */
30
abstract class AbstractAssert
31
{
32
}
33