-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpsalm-baseline.xml
82 lines (82 loc) · 2.74 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="5.13.1@086b94371304750d1c673315321a55d15fc59015">
<file src="src/ArchivePostType.php">
<InvalidArgument>
<code>false</code>
</InvalidArgument>
<MixedArgumentTypeCoercion>
<code><![CDATA[[
'description' => 'Archive posts associated with each post type.',
'public' => false,
'show_in_nav_menus' => false,
'show_in_admin_bar' => false,
'exclude_from_search' => true,
'show_ui' => true,
'show_in_menu' => true,
'can_export' => true,
'delete_with_user' => false,
'hierarchical' => false,
'has_archive' => false,
'menu_icon' => 'dashicons-media-text',
'query_var' => 'hdptap_cpt_archive',
'menu_position' => 26,
'show_in_rest' => true,
'labels' => $labels,
'supports' => $supports,
]]]></code>
<code><![CDATA[[
'post_type' => self::ARCHIVE_POST_TYPE,
'post_title' => $wpPostType->labels->name,
'post_status' => 'publish',
'post_name' => $postType,
]]]></code>
</MixedArgumentTypeCoercion>
<UndefinedPropertyFetch>
<code><![CDATA[$object->add_archive_page]]></code>
</UndefinedPropertyFetch>
</file>
<file src="src/CustomPostType.php">
<ArgumentTypeCoercion>
<code>$options</code>
</ArgumentTypeCoercion>
<MixedArgumentTypeCoercion>
<code>$options</code>
</MixedArgumentTypeCoercion>
<MixedReturnTypeCoercion>
<code><![CDATA[array<string,mixed>]]></code>
<code>array_replace_recursive( $defaults, $options )</code>
</MixedReturnTypeCoercion>
</file>
<file src="src/PostTypeMessages.php">
<MixedArgumentTypeCoercion>
<code>$counts</code>
<code>$messages</code>
<code>$messages</code>
</MixedArgumentTypeCoercion>
</file>
<file src="src/PostTypeMeta.php">
<MixedAssignment>
<code><![CDATA[$default['default']]]></code>
</MixedAssignment>
<NoValue>
<code>$column</code>
</NoValue>
<PossiblyNullFunctionCall/>
<UnusedClosureParam>
<code>$allowed</code>
<code>$cap</code>
<code>$caps</code>
<code>$metaKey</code>
<code>$postID</code>
<code>$userId</code>
</UnusedClosureParam>
</file>
<file src="src/helper.php">
<MixedReturnTypeCoercion>
<code><![CDATA[array<string,mixed>]]></code>
<code><![CDATA[array<string,mixed>]]></code>
<code>wp_parse_args( $options, $labels )</code>
<code>wp_parse_args( $options, $labels )</code>
</MixedReturnTypeCoercion>
</file>
</files>