From 030e33064d0204e7a20eee35a13915ebc5992811 Mon Sep 17 00:00:00 2001 From: Meritoo Date: Sat, 24 Aug 2019 17:22:07 +0200 Subject: [PATCH] Increase Mutation Score Indicator (MSI) by making Meritoo\Common\Traits\Test\Base\BaseTestCaseTrait::getFilePathForTesting() method protected (instead of public) --- src/Traits/Test/Base/BaseTestCaseTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Traits/Test/Base/BaseTestCaseTrait.php b/src/Traits/Test/Base/BaseTestCaseTrait.php index 554291f..23fe294 100644 --- a/src/Traits/Test/Base/BaseTestCaseTrait.php +++ b/src/Traits/Test/Base/BaseTestCaseTrait.php @@ -147,7 +147,7 @@ trait BaseTestCaseTrait * @param string $directoryPath (optional) Path of directory containing the file * @return string */ - public function getFilePathForTesting(string $fileName, string $directoryPath = ''): string + protected function getFilePathForTesting(string $fileName, string $directoryPath = ''): string { $rootPath = Miscellaneous::getProjectRootPath();