mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 09:31:51 +01:00
Increase Mutation Score Indicator (MSI) by making Meritoo\Common\Traits\Test\Base\BaseTestCaseTrait::getFilePathForTesting() method protected (instead of public)
This commit is contained in:
@@ -147,7 +147,7 @@ trait BaseTestCaseTrait
|
|||||||
* @param string $directoryPath (optional) Path of directory containing the file
|
* @param string $directoryPath (optional) Path of directory containing the file
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getFilePathForTesting(string $fileName, string $directoryPath = ''): string
|
protected function getFilePathForTesting(string $fileName, string $directoryPath = ''): string
|
||||||
{
|
{
|
||||||
$rootPath = Miscellaneous::getProjectRootPath();
|
$rootPath = Miscellaneous::getProjectRootPath();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user