Passed
Push — master ( 765b41...e6bf79 )
by Tim
03:49 queued 01:38
created

Assert::nullOr()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 2
eloc 2
c 1
b 0
f 0
nc 2
nop 2
dl 0
loc 4
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SimpleSAML\SAML11\Assert;
6
7
use SimpleSAML\XML\Assert\Assert as BaseAssert;
8
9
/**
10
 * SimpleSAML\SAML11\Assert\Assert wrapper class
11
 *
12
 * @package simplesamlphp/saml11
13
 *
14
 * @method static void validSAMLAnyURI(mixed $value, string $message = '', string $exception = '')
15
 * @method static void validSAMLDateTime(mixed $value, string $message = '', string $exception = '')
16
 * @method static void validSAMLString(mixed $value, string $message = '', string $exception = '')
17
 * @method static void nullOrValidSAMLAnyURI(mixed $value, string $message = '', string $exception = '')
18
 * @method static void nullOrValidSAMLDateTime(mixed $value, string $message = '', string $exception = '')
19
 * @method static void nullOrValidSAMLString(mixed $value, string $message = '', string $exception = '')
20
 * @method static void allValidSAMLAnyURI(mixed $value, string $message = '', string $exception = '')
21
 * @method static void allValidSAMLDateTime(mixed $value, string $message = '', string $exception = '')
22
 * @method static void allValidSAMLString(mixed $value, string $message = '', string $exception = '')
23
 */
24
class Assert extends BaseAssert
25
{
26
    use SAMLAnyURITrait;
27
    use SAMLDateTimeTrait;
28
    use SAMLStringTrait;
29
}
30