aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/filebackend/FileBackendTest.php
diff options
context:
space:
mode:
authorUmherirrender <umherirrender_de.wp@web.de>2019-10-09 20:24:07 +0200
committerUmherirrender <umherirrender_de.wp@web.de>2019-10-10 21:55:37 +0200
commit5bd311b1a2df13d24db81e79935518e0dd3dba63 (patch)
treefa0b08a30517fdbbf333edd297815ee766e40f15 /tests/phpunit/includes/filebackend/FileBackendTest.php
parentf949d6f6606239655daad16a8d57ce1a4e3211b5 (diff)
downloadmediawikicore-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/filebackend/FileBackendTest.php')
-rw-r--r--tests/phpunit/includes/filebackend/FileBackendTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/includes/filebackend/FileBackendTest.php b/tests/phpunit/includes/filebackend/FileBackendTest.php
index 9d0a37af5bd7..2d9f23e0aeaf 100644
--- a/tests/phpunit/includes/filebackend/FileBackendTest.php
+++ b/tests/phpunit/includes/filebackend/FileBackendTest.php
@@ -1023,7 +1023,7 @@ class FileBackendTest extends MediaWikiTestCase {
}
}
- function provider_quickOperations() {
+ public function provider_quickOperations() {
$base = self::baseStorePath();
$files = [
"$base/unittest-cont1/e/fileA.a",
@@ -2730,7 +2730,7 @@ class FileBackendTest extends MediaWikiTestCase {
return $this->backend->doQuickOperations( [ $params ] );
}
- function tearDownFiles() {
+ public function tearDownFiles() {
$containers = [ 'unittest-cont1', 'unittest-cont2' ];
foreach ( $containers as $container ) {
$this->deleteFiles( $container );