-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpsalm-baseline.xml
82 lines (82 loc) · 2.92 KB
/
psalm-baseline.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="3.11.2@d470903722cfcbc1cd04744c5491d3e6d13ec3d9">
<file src="src/Providers/Assets/Admin.php">
<UndefinedFunction occurrences="1">
<code>'enqueue'</code>
</UndefinedFunction>
</file>
<file src="src/Providers/Assets/Editor.php">
<UndefinedFunction occurrences="1">
<code>'enqueue'</code>
</UndefinedFunction>
</file>
<file src="src/Providers/Assets/Login.php">
<UndefinedFunction occurrences="1">
<code>'enqueue'</code>
</UndefinedFunction>
</file>
<file src="src/Providers/Assets/Theme.php">
<UndefinedFunction occurrences="1">
<code>'enqueue'</code>
</UndefinedFunction>
</file>
<file src="src/Providers/Example/PostMeta.php">
<PropertyNotSetInConstructor occurrences="1">
<code>PostMeta</code>
</PropertyNotSetInConstructor>
<UndefinedFunction occurrences="3">
<code>'register'</code>
<code>'add_boxes'</code>
<code>'save'</code>
</UndefinedFunction>
<UnresolvableInclude occurrences="1">
<code>include $this->plugin->get_path( 'views/meta-box-data.php' )</code>
</UnresolvableInclude>
</file>
<file src="src/Repositories/Category.php">
<ArgumentTypeCoercion occurrences="1">
<code>array_map( static fn ( $term ) => ( new Entity() )->set_term( $term ), $terms )</code>
</ArgumentTypeCoercion>
<LessSpecificReturnStatement occurrences="1">
<code>( new Entity() )->set_term( $term )</code>
</LessSpecificReturnStatement>
<MoreSpecificReturnType occurrences="1">
<code>?Entity</code>
</MoreSpecificReturnType>
</file>
<file src="src/Repositories/Example.php">
<PossiblyInvalidArgument occurrences="1"/>
</file>
<file src="src/Repositories/Page.php">
<LessSpecificReturnStatement occurrences="1">
<code>( new Entity() )->set_post( $post )</code>
</LessSpecificReturnStatement>
<MoreSpecificReturnType occurrences="1">
<code>?Entity</code>
</MoreSpecificReturnType>
</file>
<file src="src/Repositories/Post.php">
<LessSpecificReturnStatement occurrences="1">
<code>( new Entity() )->set_post( $post )</code>
</LessSpecificReturnStatement>
<MoreSpecificReturnType occurrences="1">
<code>?Entity</code>
</MoreSpecificReturnType>
</file>
<file src="src/Repositories/Tag.php">
<ArgumentTypeCoercion occurrences="1">
<code>array_map( static fn ( $term ) => ( new Entity() )->set_term( $term ), $terms )</code>
</ArgumentTypeCoercion>
<LessSpecificReturnStatement occurrences="1">
<code>( new Entity() )->set_term( $term )</code>
</LessSpecificReturnStatement>
<MoreSpecificReturnType occurrences="1">
<code>?Entity</code>
</MoreSpecificReturnType>
</file>
<file src="views/meta-box-data.php">
<UndefinedGlobalVariable occurrences="1">
<code>$entity</code>
</UndefinedGlobalVariable>
</file>
</files>