Coding Standards: Add visibility to methods in tests/phpunit/tests/.

Adds a `public` visibility to test fixtures, tests, data providers, and callbacks methods. This continues the previous efforts to make sure visibility is declared on all methods. 

Note: This will be enforced by WPCS 3.0.0.

Follow-up to [51919], [52009], [52010].

Props jrf.
See #56791.

git-svn-id: https://develop.svn.wordpress.org/trunk@54889 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2022-11-29 12:32:37 +00:00
parent 5cb17e222d
commit 8f86cdb2e0
21 changed files with 116 additions and 116 deletions

View File

@@ -2069,7 +2069,7 @@ class Tests_Functions extends WP_UnitTestCase {
* @ticket 55505
* @covers ::wp_recursive_ksort
*/
function test_wp_recursive_ksort() {
public function test_wp_recursive_ksort() {
// Create an array to test.
$theme_json = array(
'version' => 1,