-
Notifications
You must be signed in to change notification settings - Fork 650
/
FileStorage.php
107 lines (82 loc) · 1.86 KB
/
FileStorage.php
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?php
namespace Psalm\Storage;
use Psalm\Aliases;
class FileStorage
{
use CustomMetadataTrait;
/**
* @var array<lowercase-string, string>
*/
public $classlikes_in_file = [];
/**
* @var array<string>
*/
public $referenced_classlikes = [];
/**
* @var array<string>
*/
public $required_classes = [];
/**
* @var array<string>
*/
public $required_interfaces = [];
/**
* @var bool
*/
public $has_trait = false;
/** @var string */
public $file_path;
/**
* @var array<string, FunctionLikeStorage>
*/
public $functions = [];
/** @var array<string, string> */
public $declaring_function_ids = [];
/**
* @var array<string, \Psalm\Type\Union>
*/
public $constants = [];
/** @var array<string, string> */
public $declaring_constants = [];
/** @var array<string, string> */
public $required_file_paths = [];
/** @var array<string, string> */
public $required_by_file_paths = [];
/** @var bool */
public $populated = false;
/** @var bool */
public $deep_scan = false;
/** @var bool */
public $has_extra_statements = false;
/**
* @var string
*/
public $hash = '';
/**
* @var bool
*/
public $has_visitor_issues = false;
/**
* @var list<\Psalm\Issue\CodeIssue>
*/
public $docblock_issues = [];
/**
* @var array<string, \Psalm\Internal\Type\TypeAlias>
*/
public $type_aliases = [];
/**
* @var array<lowercase-string, string>
*/
public $classlike_aliases = [];
/** @var ?Aliases */
public $aliases;
/** @var Aliases[] */
public $namespace_aliases = [];
/**
* @param string $file_path
*/
public function __construct($file_path)
{
$this->file_path = $file_path;
}
}