Sergey Biryukov
6a854ec257
Code Modernization: Remove dynamic properties in WP_Test_REST_Users_Controller.
...
Dynamic (non-explicitly declared) properties are deprecated as of PHP 8.2 and are expected to become a fatal error in PHP 9.0.
In these particular cases, individual tests set a couple of properties (`$author_id`, `$post_id`) that are never used outside of the context of the test in which they are created.
In other words: these should never have been properties, but should be local variables instead.
Follow-up to [38832], [53557], [53558], [53850], [53851], [53852], [53853], [53854], [53856], [53916], [53935].
Props jrf.
See #56033 .
git-svn-id: https://develop.svn.wordpress.org/trunk@53936 602fd350-edb4-49c9-b593-d223f7449a82
2022-08-24 13:18:31 +00:00
..
2022-08-21 16:55:18 +00:00
2022-07-26 13:21:55 +00:00
2022-07-07 21:06:03 +00:00
2022-08-21 16:55:18 +00:00
2022-08-23 14:50:56 +00:00
2021-12-21 00:10:26 +00:00
2022-03-09 15:06:09 +00:00
2022-07-07 23:00:07 +00:00
2022-08-08 23:12:30 +00:00
2021-11-08 14:21:44 +00:00
2022-07-29 03:32:58 +00:00
2022-08-07 16:36:42 +00:00
2022-08-01 22:48:42 +00:00
2022-08-22 16:40:54 +00:00
2022-05-07 02:51:54 +00:00
2021-08-20 16:11:04 +00:00
2021-08-21 15:32:53 +00:00
2022-05-23 14:20:47 +00:00
2022-08-03 12:18:22 +00:00
2021-11-04 15:22:47 +00:00
2022-07-21 21:09:56 +00:00
2022-08-13 12:09:41 +00:00
2022-08-18 08:43:19 +00:00
2022-07-31 15:03:46 +00:00
2022-06-12 15:16:09 +00:00
2022-07-21 18:01:01 +00:00
2022-08-08 23:22:43 +00:00
2022-01-30 19:40:57 +00:00
2022-08-11 12:37:05 +00:00
2022-08-04 18:28:33 +00:00
2022-08-11 21:49:08 +00:00
2022-08-07 14:32:55 +00:00
2021-11-25 19:39:31 +00:00
2022-06-23 14:24:08 +00:00
2022-04-07 17:57:59 +00:00
2022-03-22 16:23:32 +00:00
2022-08-08 23:33:11 +00:00
2022-06-08 13:17:27 +00:00
2022-08-07 13:56:35 +00:00
2022-08-23 19:57:17 +00:00
2022-06-01 14:16:39 +00:00
2022-08-13 22:29:19 +00:00
2022-08-24 13:18:31 +00:00
2022-08-08 14:38:08 +00:00
2022-08-05 05:47:56 +00:00
2021-08-07 10:29:41 +00:00
2022-08-13 22:44:10 +00:00
2022-08-23 17:46:46 +00:00
2022-07-08 00:11:15 +00:00
2022-08-03 14:34:58 +00:00
2022-04-30 11:33:30 +00:00
2021-12-06 21:29:00 +00:00
2022-03-02 15:38:27 +00:00
2021-12-19 13:42:37 +00:00
2022-07-31 21:35:40 +00:00
2021-11-04 15:22:47 +00:00
2021-11-15 01:08:35 +00:00
2022-06-09 05:29:57 +00:00
2022-07-07 23:55:13 +00:00
2022-06-01 14:16:39 +00:00
2022-04-07 13:33:03 +00:00
2022-08-04 17:47:41 +00:00
2022-04-01 03:23:07 +00:00
2022-07-07 23:00:07 +00:00
2022-08-08 23:12:30 +00:00
2022-08-08 23:12:30 +00:00
2022-07-29 03:32:58 +00:00
2022-07-06 05:31:47 +00:00
2022-08-15 13:16:22 +00:00
2021-12-07 17:44:46 +00:00
2022-08-07 14:48:42 +00:00
2022-07-31 16:25:27 +00:00
2022-08-23 19:57:17 +00:00
2021-08-26 12:57:08 +00:00
2021-08-26 12:57:08 +00:00
2022-05-02 13:11:07 +00:00
2022-08-08 23:39:06 +00:00
2021-11-04 15:22:47 +00:00
2022-08-08 23:39:06 +00:00
2022-08-16 18:16:43 +00:00
2022-08-22 19:50:15 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2022-07-23 14:56:51 +00:00
2022-07-27 15:41:30 +00:00
2022-08-08 14:38:08 +00:00
2022-04-19 14:38:16 +00:00
2021-12-19 13:42:37 +00:00
2021-08-26 12:57:08 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2022-08-09 10:21:32 +00:00
2021-08-07 10:29:41 +00:00
2022-03-16 03:04:40 +00:00
2022-05-06 11:09:54 +00:00
2021-11-04 15:22:47 +00:00
2022-07-08 00:11:15 +00:00
2022-08-03 14:34:58 +00:00
2022-07-07 23:55:13 +00:00
2021-11-04 15:22:47 +00:00
2021-11-27 16:16:15 +00:00
2021-08-07 10:29:41 +00:00