Location
constructor(source: SourceLocation, endSource: SourceLocation, text: TextLocation, filePath: FilePath)
Deprecated
locationString was removed and won't get passed to the main constructor. Use queries on 'ktElement' instead.
Replace with
import io.gitlab.arturbosch.detekt.api.Location
Content copied to clipboard
Location(source, text, file)
Content copied to clipboard
constructor(source: SourceLocation, text: TextLocation, file: String, filePath: FilePath = FilePath.fromAbsolute(Path(file)))
Deprecated
Consider relative path by passing a [FilePath]