|
63 | 63 | $args = ['echo' => $_GET['foo']]; |
64 | 64 | assertType('string|void', get_search_form($args)); |
65 | 65 | assertType('string|void', the_title_attribute($args)); |
66 | | -assertType('string|void', wp_link_pages($args)); |
67 | 66 | assertType('string|void', wp_list_authors($args)); |
68 | 67 | assertType('string|void', wp_list_comments($args)); |
69 | 68 | assertType('string|void', wp_list_users($args)); |
|
73 | 72 | // Explicit no query string value |
74 | 73 | $args = 'akey=avalue'; |
75 | 74 | assertType('void', the_title_attribute($args)); |
76 | | -assertType('void', wp_link_pages($args)); |
77 | 75 | assertType('void', wp_list_authors($args)); |
78 | 76 | assertType('void', wp_list_comments($args)); |
79 | 77 | assertType('void', wp_list_users($args)); |
|
82 | 80 | // Explicit non empty non numeric query string value (includes 'true' & 'false') |
83 | 81 | $args = 'echo=nonemptynonnumeric&akey=avalue'; |
84 | 82 | assertType('void', the_title_attribute($args)); |
85 | | -assertType('void', wp_link_pages($args)); |
86 | 83 | assertType('void', wp_list_authors($args)); |
87 | 84 | assertType('void', wp_list_comments($args)); |
88 | 85 | assertType('void', wp_list_users($args)); |
|
91 | 88 | // Explicit non zero numeric query string value |
92 | 89 | $args = 'echo=1&akey=avalue'; |
93 | 90 | assertType('void', the_title_attribute($args)); |
94 | | -assertType('void', wp_link_pages($args)); |
95 | 91 | assertType('void', wp_list_authors($args)); |
96 | 92 | assertType('void', wp_list_comments($args)); |
97 | 93 | assertType('void', wp_list_users($args)); |
|
100 | 96 | // Explicit query string value of 0 |
101 | 97 | $args = 'echo=0&akey=avalue'; |
102 | 98 | assertType('string|void', the_title_attribute($args)); |
103 | | -assertType('string', wp_link_pages($args)); |
104 | 99 | assertType('string', wp_list_authors($args)); |
105 | 100 | assertType('string|void', wp_list_comments($args)); |
106 | 101 | assertType('string', wp_list_users($args)); |
|
109 | 104 | // Explicit empty query string value |
110 | 105 | $args = 'echo=&akey=avalue'; |
111 | 106 | assertType('string|void', the_title_attribute($args)); |
112 | | -assertType('string', wp_link_pages($args)); |
113 | 107 | assertType('string', wp_list_authors($args)); |
114 | 108 | assertType('string|void', wp_list_comments($args)); |
115 | 109 | assertType('string', wp_list_users($args)); |
|
119 | 113 | $args = $_GET['foo']; |
120 | 114 | assertType('string|void', get_search_form($args)); |
121 | 115 | assertType('string|void', the_title_attribute($args)); |
122 | | -assertType('string|void', wp_link_pages($args)); |
123 | 116 | assertType('string|void', wp_list_authors($args)); |
124 | 117 | assertType('string|void', wp_list_comments($args)); |
125 | 118 | assertType('string|void', wp_list_users($args)); |
|
131 | 124 | $args = ''; |
132 | 125 | assertType('string|void', get_search_form($args)); |
133 | 126 | assertType('string|void', the_title_attribute($args)); |
134 | | -assertType('string|void', wp_link_pages($args)); |
135 | 127 | assertType('string|void', wp_list_authors($args)); |
136 | 128 | assertType('string|void', wp_list_comments($args)); |
137 | 129 | assertType('string|void', wp_list_users($args)); |
|
0 commit comments