aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/media/SVGReaderTest.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/media/SVGReaderTest.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/media/SVGReaderTest.php')
-rw-r--r--tests/phpunit/includes/media/SVGReaderTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/media/SVGReaderTest.php b/tests/phpunit/includes/media/SVGReaderTest.php
index 7063a575da07..ed0fa16f5f5c 100644
--- a/tests/phpunit/includes/media/SVGReaderTest.php
+++ b/tests/phpunit/includes/media/SVGReaderTest.php
@@ -32,7 +32,7 @@ class SVGReaderTest extends \MediaWikiIntegrationTestCase {
);
}
- function assertMetadata( $infile, $expected ) {
+ private function assertMetadata( $infile, $expected ) {
try {
$svgReader = new SVGReader( $infile );
$data = $svgReader->getMetadata();