LPS-46017 Add check to SourceFormatter
LPS-46009 Source formatting