forked from phpstan/phpstan-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.php
More file actions
62 lines (56 loc) · 1005 Bytes
/
Copy pathfunctions.php
File metadata and controls
62 lines (56 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php declare(strict_types = 1);
namespace PHPStan\Testing;
use PHPStan\TrinaryLogic;
/**
* Asserts the static type of a value.
*
* @phpstan-pure
* @param mixed $value
* @return mixed
*
* @throws void
*/
function assertType(string $type, $value) // phpcs:ignore
{
return null;
}
/**
* Asserts the static type of a value.
*
* The difference from assertType() is that it doesn't resolve
* method/function parameter phpDocs.
*
* @phpstan-pure
* @param mixed $value
* @return mixed
*
* @throws void
*/
function assertNativeType(string $type, $value) // phpcs:ignore
{
return null;
}
/**
* Asserts a super type of a value.
*
* @phpstan-pure
* @param mixed $value
* @return mixed
*
* @throws void
*/
function assertSuperType(string $superType, $value) // phpcs:ignore
{
return null;
}
/**
* @phpstan-pure
* @param mixed $variable
* @return mixed
*
* @throws void
*/
function assertVariableCertainty(TrinaryLogic $certainty, $variable) // phpcs:ignore
{
return null;
}