in src/main/kotlin/com/pestphp/pest/configuration/PestLocationProvider.kt [33:54]
override fun getLocation(
protocol: String,
path: String,
project: Project,
scope: GlobalSearchScope
): MutableList<Location<PsiElement>> {
val isParallelExecution = path.contains(PARALLEL_EXECUTION_URL_MARKER)
if (protocol != PROTOCOL_ID && !isParallelExecution) {
return phpUnitLocationProvider.getLocation(protocol, path, project, scope)
}
val locationInfo = if (isParallelExecution) getParallelLocationInfo(path) else getLocationInfo(path)
val element = locationInfo?.let { findElement(it, project) } ?: return mutableListOf()
return mutableListOf(
PhpPsiLocationWithDataSet(
project,
element,
getDataSet(locationInfo)
)
)
}