@@ -104,7 +104,7 @@ public function test_term_count_changes_for_post_statuses( $post_status, $change
104104 * @type int $change Expected change.
105105 * }
106106 */
107- public function data_term_count_changes_for_post_statuses () {
107+ public static function data_term_count_changes_for_post_statuses () {
108108 return array (
109109 // 0. Published post
110110 array ( 'publish ' , 1 ),
@@ -146,7 +146,7 @@ public function test_term_counts_incremented_on_publish( $original_post_status,
146146 * @type int $change Expected change upon publish.
147147 * }
148148 */
149- public function data_term_counts_incremented_on_publish () {
149+ public static function data_term_counts_incremented_on_publish () {
150150 return array (
151151 // 0. Published post
152152 array ( 'publish ' , 0 ),
@@ -193,7 +193,7 @@ public function test_term_count_transitions_update_term_counts( $original_post_s
193193 * @type int $change Expected change upon publish.
194194 * }
195195 */
196- public function data_term_count_transitions_update_term_counts () {
196+ public static function data_term_count_transitions_update_term_counts () {
197197 return array (
198198 // 0. Draft -> published post
199199 array ( 'draft ' , 'publish ' , 1 ),
@@ -269,7 +269,7 @@ public function test_term_count_changes_for_update_post_term_count_statuses_filt
269269 * @type int $change Expected change.
270270 * }
271271 */
272- public function data_term_count_changes_for_update_post_term_count_statuses_filter () {
272+ public static function data_term_count_changes_for_update_post_term_count_statuses_filter () {
273273 return array (
274274 // 0. Published post
275275 array ( 'publish ' , 2 ),
@@ -319,7 +319,7 @@ public function test_term_count_changes_for_post_statuses_with_attachments( $pos
319319 * @type int $change Expected change.
320320 * }
321321 */
322- public function data_term_count_changes_for_post_statuses_with_attachments () {
322+ public static function data_term_count_changes_for_post_statuses_with_attachments () {
323323 return array (
324324 // 0. Published post
325325 array ( 'publish ' , 2 ),
@@ -370,7 +370,7 @@ public function test_term_counts_incremented_on_publish_with_attachments( $origi
370370 * @type int $change Expected change upon publish.
371371 * }
372372 */
373- public function data_term_counts_incremented_on_publish_with_attachments () {
373+ public static function data_term_counts_incremented_on_publish_with_attachments () {
374374 return array (
375375 // 0. Published post
376376 array ( 'publish ' , 0 ),
@@ -426,7 +426,7 @@ public function test_term_count_transitions_update_term_counts_with_attachments(
426426 * @type int $change Expected change upon publish.
427427 * }
428428 */
429- public function data_term_count_transitions_update_term_counts_with_attachments () {
429+ public static function data_term_count_transitions_update_term_counts_with_attachments () {
430430 return array (
431431 // 0. Draft -> published post
432432 array ( 'draft ' , 'publish ' , 2 ),
@@ -494,7 +494,7 @@ public function test_term_counts_incremented_on_publish_with_untermed_attachment
494494 * @type int $change Expected change upon publish.
495495 * }
496496 */
497- public function data_term_counts_incremented_on_publish_with_untermed_attachments () {
497+ public static function data_term_counts_incremented_on_publish_with_untermed_attachments () {
498498 return array (
499499 // 0. Published post
500500 array ( 'publish ' , 0 ),
@@ -549,7 +549,7 @@ public function test_term_count_transitions_update_term_counts_with_untermed_att
549549 * @type int $change Expected change upon publish.
550550 * }
551551 */
552- public function data_term_count_transitions_update_term_counts_with_untermed_attachments () {
552+ public static function data_term_count_transitions_update_term_counts_with_untermed_attachments () {
553553 return array (
554554 // 0. Draft -> published post
555555 array ( 'draft ' , 'publish ' , 1 ),
0 commit comments