wordpress-develop/tests/phpunit/tests/admin
Tonya Mork 9e4188b93b Code Modernization: Use "declare" in WP_List_Table magic methods deprecation message
Changes "define" to "declare" in the deprecation message in `WP_List_Table` magic methods.

Why is "declare" better?
It aligns well to:

* the topic of and published information about dynamic properties.
* the act of explicitly listing the variable as a property on the class.

The goal of this message is guide developers to change their code. Changing the term to "declare" hopefully will aid in the understanding of what is being asked of developers when this deprecation is thrown.

Follow-up [56349].

Props hellofromTonya, antonvlasenko.
Fixes #58896.

git-svn-id: https://develop.svn.wordpress.org/trunk@56356 602fd350-edb4-49c9-b593-d223f7449a82
2023-08-03 19:50:20 +00:00
..
includesComment.php Tests: Add missing @covers tags for Tests_Admin_IncludesComment. 2021-09-01 21:58:32 +00:00
includesFile.php HTTP API: Fix request header inconsistencies. 2023-02-03 13:33:18 +00:00
includesMisc.php Build/Test Tools: Add missing @covers and visibility for Tests_Admin_includesMisc. 2021-11-02 22:07:49 +00:00
includesPlugin.php I18N: Introduce WP_Textdomain_Registry to store text domains and their language directory paths. 2022-08-11 12:37:05 +00:00
includesPost.php Quick/Bulk Edit: Ensure scheduled posts are published when using Bulk Edit. 2023-07-02 08:02:45 +00:00
includesSchema.php Date/Time: Correct sanitization of localized default timezone_string in populate_options(). 2022-09-20 00:41:58 +00:00
includesScreen.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
includesTemplate.php Tests: Use the data_ prefix for various data provider methods. 2023-03-19 12:03:30 +00:00
includesTheme.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
includesUser.php Application Passwords: Allow plain HTTP success and reject URLs when using a local environment type. 2023-02-07 17:43:55 +00:00
wpAutomaticUpdater.php Upgrade/Install: Initialize the local $checkout variable in WP_Automatic_Updater::is_vcs_checkout(). 2023-07-02 10:33:18 +00:00
wpCommentsListTable.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2022-11-29 12:32:37 +00:00
wpCommunityEvents.php Tests: Merge file-level and class-level DocBlocks in various unit test files. 2023-02-14 16:10:13 +00:00
wpListTable.php Code Modernization: Use "declare" in WP_List_Table magic methods deprecation message 2023-08-03 19:50:20 +00:00
wpMediaListTable.php General: Increase the minimum supported version of PHP to 7.0.0. 2023-07-05 17:39:55 +00:00
wpPluginInstallListTable.php Administration: Add new get_views_links method to WP_List_Table. 2022-09-19 21:06:08 +00:00
wpPluginsListTable.php Coding Standards: Fix a PHPCS issue found in wpPluginsListTable.php. 2023-06-27 16:09:19 +00:00
wpPostCommentsListTable.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2022-11-29 12:32:37 +00:00
wpPostsListTable.php Tests: Remove expectation of a deprecation notice from WP_Posts_List_Table tests. 2023-05-14 18:43:46 +00:00
wpPrivacyRequestsTable.php Tests: Use the data_ prefix for various data provider methods. 2023-03-19 12:03:30 +00:00
wpSiteHealth.php General: Use static on closures whenever $this is not used to avoid memory leaks. 2023-05-17 22:44:21 +00:00
wpThemeInstallListTable.php Administration: Add new get_views_links method to WP_List_Table. 2022-09-19 21:06:08 +00:00
wpUsersListTable.php Administration: Add new get_views_links method to WP_List_Table. 2022-09-19 21:06:08 +00:00