diff options
author | Umherirrender <umherirrender_de.wp@web.de> | 2019-10-09 20:24:07 +0200 |
---|---|---|
committer | Umherirrender <umherirrender_de.wp@web.de> | 2019-10-10 21:55:37 +0200 |
commit | 5bd311b1a2df13d24db81e79935518e0dd3dba63 (patch) | |
tree | fa0b08a30517fdbbf333edd297815ee766e40f15 /tests/phpunit/includes/api/query/ApiQueryBasicTest.php | |
parent | f949d6f6606239655daad16a8d57ce1a4e3211b5 (diff) | |
download | mediawikicore-5bd311b1a2df13d24db81e79935518e0dd3dba63.tar.gz mediawikicore-5bd311b1a2df13d24db81e79935518e0dd3dba63.zip |
Add public as visibility in tests folder
Add public, protected or private to function missing a visibility
Enable the tests folder for the phpcs sniff
Change-Id: Ibefce76ea9984c47e08c94889ea2eafca7565e2c
Diffstat (limited to 'tests/phpunit/includes/api/query/ApiQueryBasicTest.php')
-rw-r--r-- | tests/phpunit/includes/api/query/ApiQueryBasicTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/api/query/ApiQueryBasicTest.php b/tests/phpunit/includes/api/query/ApiQueryBasicTest.php index c935c2de8830..0f47d7055a1c 100644 --- a/tests/phpunit/includes/api/query/ApiQueryBasicTest.php +++ b/tests/phpunit/includes/api/query/ApiQueryBasicTest.php @@ -36,7 +36,7 @@ class ApiQueryBasicTest extends ApiQueryTestBase { * * @see MediaWikiTestCase::addDBDataOnce() */ - function addDBDataOnce() { + public function addDBDataOnce() { try { if ( Title::newFromText( 'AQBT-All' )->exists() ) { return; |